===DEBUGP=== object(WP_Post)#1655 (24) { ["ID"]=> int(1342) ["post_author"]=> string(1) "2" ["post_date"]=> string(19) "2026-06-01 10:04:08" ["post_date_gmt"]=> string(19) "2026-06-01 03:04:08" ["post_content"]=> string(313751) "/** * Tour catalog system for WPCode. * Shortcodes: * [tour_admin_dashboard] * [tour_categories] * [tour_category_detail] * [tour_package_detail] */ if (!class_exists('Yusee_Tour_Catalog')) { class Yusee_Tour_Catalog { const CPT = 'tour_package'; const TAX = 'tour_region'; public function __construct() { add_action('init', [$this, 'register_content']); add_action('init', [$this, 'handle_front_actions']); add_action('wp_enqueue_scripts', [$this, 'register_assets']); add_action('wp_ajax_yusee_tour_upload_media', [$this, 'handle_media_upload_ajax']); add_action('wp_ajax_nopriv_yusee_tour_upload_media', [$this, 'handle_media_upload_ajax']); add_shortcode('tour_admin_dashboard', [$this, 'shortcode_admin']); add_shortcode('admin_dashboard', [$this, 'shortcode_admin']); add_shortcode('opentrip_admin', [$this, 'shortcode_admin']); add_shortcode('tour_categories', [$this, 'shortcode_categories']); add_shortcode('tour_category_detail', [$this, 'shortcode_category_detail']); add_shortcode('tour_package_detail', [$this, 'shortcode_package_detail']); } public static function safe_get_terms($post_id, $fields = 'ids') { $terms = wp_get_post_terms($post_id, self::TAX, ['fields' => $fields]); return (is_wp_error($terms) || !is_array($terms)) ? [] : $terms; } public function register_content() { register_post_type(self::CPT, [ 'labels' => [ 'name' => 'Tour Packages', 'singular_name' => 'Tour Package', ], 'public' => false, 'show_ui' => true, 'show_in_menu' => true, 'supports' => ['title', 'thumbnail'], 'menu_icon' => 'dashicons-palmtree', ]); register_taxonomy(self::TAX, [self::CPT], [ 'labels' => [ 'name' => 'Tour Regions', 'singular_name' => 'Tour Region', ], 'public' => false, 'show_ui' => true, 'show_admin_column' => true, 'hierarchical' => false, 'rewrite' => false, ]); } public function register_assets() { wp_register_style('yusee-tour-catalog', false, [], null); wp_enqueue_style('yusee-tour-catalog'); wp_add_inline_style('yusee-tour-catalog', $this->css()); if ($this->can_manage_dashboard()) { $deps = ['jquery']; if ($this->has_wp_admin_access()) { wp_enqueue_media(); $deps = ['jquery', 'media-editor', 'media-views', 'wp-util']; } wp_register_script('yusee-tour-catalog-admin', false, $deps, null, true); wp_enqueue_script('yusee-tour-catalog-admin'); wp_add_inline_script('yusee-tour-catalog-admin', $this->admin_js_bootstrap(), 'before'); wp_add_inline_script('yusee-tour-catalog-admin', $this->admin_js()); } } private function admin_js_bootstrap() { return 'window.yuseeTourAdmin=' . wp_json_encode([ 'ajaxUrl' => admin_url('admin-ajax.php'), 'hasWpMedia' => $this->has_wp_admin_access(), ]) . ';'; } private function css() { return '@import url(https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700;800;900&family=Montserrat:wght@700;800;900&display=swap);.yusee-tour-wrap{--st-bg:#f7f9ff;--st-card:#fff;--st-line:#dfe3e8;--st-line2:#bfc7d2;--st-text:#181c20;--st-muted:#3f4850;--st-primary:#006194;--st-primary2:#007bb9;--st-green:#006c49;--st-error:#ba1a1a;font-family:"Work Sans",system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--st-text)}.yusee-tour-admin-shell{display:grid;grid-template-columns:250px minmax(0,1fr);gap:0;background:var(--st-bg);border:1px solid var(--st-line);border-radius:24px;overflow:hidden;min-height:720px;box-shadow:0 12px 40px rgba(15,23,42,.08)}.yusee-tour-admin-side{background:#fff;border-right:1px solid var(--st-line);padding:24px 16px;display:flex;flex-direction:column;gap:18px}.yusee-tour-brand{display:flex;gap:12px;align-items:center;padding:0 8px 10px}.yusee-tour-logo{width:42px;height:42px;border-radius:999px;background:linear-gradient(135deg,var(--st-primary),#93ccff);color:#fff;display:grid;place-items:center;font-weight:800}.yusee-tour-brand strong{display:block;color:var(--st-primary);font-size:20px;line-height:1.1}.yusee-tour-brand span{font-size:12px;color:var(--st-muted);font-weight:600;text-transform:uppercase;letter-spacing:.05em}.yusee-tour-admin-tabs{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;background:transparent;border:0;box-shadow:none}.yusee-tour-admin-tabs a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;border:0;border-left:4px solid transparent;border-radius:0 12px 12px 0;text-decoration:none;background:transparent;color:var(--st-muted);font-weight:700;transition:all .18s ease}.yusee-tour-admin-tabs a:hover,.yusee-tour-admin-tabs a.active{background:rgba(0,97,148,.09);color:var(--st-primary);border-left-color:var(--st-primary)}.yusee-tour-admin-main{min-width:0;padding:28px;width:100%;box-sizing:border-box}.yusee-tour-topbar{height:58px;margin:-26px -26px 26px;padding:0 26px;background:#fff;border-bottom:1px solid var(--st-line);display:flex;align-items:center;justify-content:space-between}.yusee-tour-topbar strong{font-size:20px;color:var(--st-primary)}.yusee-tour-topbar span{font-size:13px;color:var(--st-muted)}.yusee-tour-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:26px}.yusee-tour-page-head h2{margin:0 0 6px;font-size:30px;line-height:1.15;font-weight:800;letter-spacing:-.02em}.yusee-tour-page-head p{margin:0;color:var(--st-muted);font-size:14px}.yusee-tour-panel,.yusee-tour-card,.yusee-tour-option,.yusee-tour-mini{background:#fff;border:1px solid var(--st-line);border-radius:16px;box-shadow:0 1px 3px rgba(15,23,42,.05);overflow:hidden}.yusee-tour-body{padding:22px}.yusee-tour-modal .yusee-tour-actions{position:sticky;bottom:0;background:#fff;padding:14px 0 0;border-top:1px solid var(--st-line);z-index:2}.yusee-tour-title{margin:0 0 10px;font-size:20px;line-height:1.3;font-weight:800}.yusee-tour-desc{margin:0;color:var(--st-muted)}.yusee-tour-form{display:block;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}.yusee-tour-media-field{display:grid;gap:10px}.yusee-tour-media-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center}.yusee-tour-media-preview img{max-width:240px;width:100%;border-radius:12px;border:1px solid var(--st-line);display:block}.yusee-tour-form input,.yusee-tour-form textarea,.yusee-tour-form select,.yusee-tour-search input{width:100%;padding:11px 13px;border:1px solid var(--st-line);border-radius:10px;background:#fff;color:var(--st-text);outline:0;transition:.15s}.yusee-tour-form input:focus,.yusee-tour-form textarea:focus,.yusee-tour-form select:focus,.yusee-tour-search input:focus{border-color:var(--st-primary);box-shadow:0 0 0 3px rgba(0,97,148,.12)}.yusee-tour-form textarea{min-height:110px}.yusee-tour-form label{display:block;margin:0 0 7px;font-size:13px;font-weight:800;color:var(--st-text)}.yusee-tour-form .row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.yusee-tour-form .row-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.yusee-tour-form .block{margin-bottom:16px}.yusee-tour-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;align-items:center}.yusee-tour-card-actions{justify-content:space-between}.yusee-tour-action-left,.yusee-tour-action-right{display:flex;gap:10px;flex-wrap:wrap}.yusee-tour-meta-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.yusee-tour-pill{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#f2f4f7;color:#344054;font-size:12px;font-weight:800}.yusee-tour-danger-zone{margin-left:auto}.yusee-tour-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 16px;border-radius:12px;text-decoration:none;background:var(--st-primary);border:1px solid var(--st-primary);color:#fff!important;font-weight:800;cursor:pointer}.yusee-tour-btn.alt{background:#fff;color:var(--st-text)!important;border-color:var(--st-line2)}.yusee-tour-btn.danger{color:var(--st-error)!important;border-color:#fecaca;background:#fff5f5!important}.yusee-tour-btn:hover{filter:brightness(.96)}.yusee-tour-controls{background:#fff;border:1px solid var(--st-line);border-radius:14px;padding:14px;display:flex;gap:12px;align-items:center;justify-content:space-between;margin:22px 0 0;box-shadow:0 1px 3px rgba(15,23,42,.05);width:100%;box-sizing:border-box}.yusee-tour-controls .yusee-tour-search{margin:0;flex:1;max-width:none}.yusee-tour-modal{position:fixed;inset:0;background:rgba(15,23,42,.45);backdrop-filter:blur(6px);z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px}.yusee-tour-modal-card{width:min(960px,100%);max-height:92vh;overflow:auto;background:#fff;border:1px solid var(--st-line);border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.22);display:flex;flex-direction:column}.yusee-tour-modal-card>.yusee-tour-body{overflow:auto}.yusee-tour-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 22px 0}.yusee-tour-modal-close{width:38px;height:38px;border-radius:999px;border:1px solid var(--st-line2);background:#fff;color:var(--st-text)!important;text-decoration:none;display:grid;place-items:center;font-weight:800}.yusee-tour-admin-list{margin-top:18px;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px;align-items:stretch;width:100%}.yusee-tour-mini{padding:0}.yusee-tour-collapse summary{cursor:pointer;padding:16px 18px;font-weight:800;color:var(--text);list-style:none}.yusee-tour-collapse summary::-webkit-details-marker{display:none}.yusee-tour-collapse summary:after{content:"+";float:right;color:var(--primary);font-weight:900}.yusee-tour-collapse[open] summary:after{content:"–"}.yusee-tour-card-img{height:220px;background:#dfe3e8;overflow:hidden;position:relative}.yusee-tour-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s}.yusee-tour-card-img img[src=""],.yusee-tour-card-img img:not([src]){display:none}.yusee-tour-card-img:empty:before{content:"No image";position:absolute;inset:0;display:grid;place-items:center;color:#667085;font-weight:800;background:linear-gradient(135deg,#eef2f7,#dfe7ef)}.yusee-tour-mini:hover .yusee-tour-card-img img{transform:scale(1.04)}.yusee-tour-card-pad{padding:20px;display:flex;flex-direction:column;gap:8px}.yusee-tour-mini{display:flex;flex-direction:column}.yusee-tour-card-pad .yusee-tour-actions{margin-top:auto}.yusee-tour-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;background:#eaf6ff;color:var(--st-primary);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.yusee-tour-badge{display:inline-block;padding:6px 10px;border-radius:999px;background:#eef6ff;color:var(--st-primary);font-size:12px;font-weight:800}.yusee-tour-kv{display:grid;grid-template-columns:95px 1fr;gap:8px;font-size:14px}.yusee-tour-kv strong{color:var(--st-muted)}.yusee-tour-small{font-size:13px;color:var(--st-muted)}.yusee-tour-link{color:var(--st-primary);text-decoration:none}.yusee-tour-note{padding:12px 14px;border-radius:12px;margin-bottom:18px;font-weight:700}.yusee-tour-note.ok{background:#ecfdf5;color:#065f46}.yusee-tour-note.err{background:#fef2f2;color:#991b1b}.yusee-tour-empty{padding:20px;border:1px dashed var(--st-line2);border-radius:14px;color:var(--st-muted);background:#fff}.yusee-tour-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}.yusee-tour-card img,.yusee-tour-option img,.yusee-tour-hero img{width:100%;height:auto;display:block}.yusee-tour-meta{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0 20px;color:#6b7280}.yusee-tour-sections{display:grid;gap:18px;margin-top:24px}.yusee-tour-section{padding:20px;border:1px solid var(--st-line);border-radius:18px;background:#fff}.yusee-tour-list{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:10px}.yusee-tour-list li{display:flex;gap:10px;align-items:flex-start}.yusee-tour-ico{display:inline-flex;width:22px;justify-content:center;font-weight:700}.yusee-tour-search{margin:0 0 24px}.yusee-tour-option-wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-top:24px}.yusee-tour-option .yusee-tour-price{font-weight:700;margin-top:10px}.yusee-tour-option ul{padding-left:18px;color:#4b5563}.yusee-tour-hero{margin-bottom:22px;border-radius:22px;overflow:hidden}.yusee-tour-wrap{width:100%;max-width:none!important;margin:0!important}.page-id-738 header,.page-id-738 footer,.page-id-738 .site-header,.page-id-738 .site-footer,.page-id-738 .elementor-location-header,.page-id-738 .elementor-location-footer,.page-id-738 .dialog-widget,.page-id-738 .elementor-popup-modal,.page-id-738 body>.elementor,.page-id-738> .elementor,body.page-id-738>.elementor,body.page-id-738>div[data-elementor-type="wp-post"]{display:none!important}body.page-id-738 main#content,body.page-id-738 .site-main,body.page-id-738 .page-content{display:block!important;margin:0!important;padding:0!important;max-width:none!important;width:100%!important}html:has(body.page-id-738){margin-top:32px!important}body.page-id-738{background:#f6f8fc!important}body.page-id-738 main#content{min-height:calc(100vh - 32px)!important}body.page-id-738 .yusee-tour-wrap{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important}body.page-id-738 .yusee-tour-wrap+.yusee-tour-empty{display:none!important}.yusee-tour-admin-shell{width:100%;max-width:none;min-height:calc(100vh - 32px);border-radius:0;border-left:0;border-right:0;border-bottom:0}.yusee-tour-admin-main{width:100%}.yusee-tour-controls{flex-wrap:wrap}.yusee-tour-controls .yusee-tour-btn{white-space:nowrap}.yusee-tour-modal{box-sizing:border-box}.yusee-tour-modal-card{box-sizing:border-box}@media(max-width:900px){.yusee-tour-admin-shell{grid-template-columns:1fr}.yusee-tour-admin-side{border-right:0;border-bottom:1px solid var(--st-line)}.yusee-tour-admin-tabs{flex-direction:row;overflow:auto}.yusee-tour-admin-tabs a{border-left:0;border-bottom:3px solid transparent;border-radius:12px;white-space:nowrap}.yusee-tour-admin-tabs a.active{border-bottom-color:var(--st-primary)}}@media(max-width:767px){.yusee-tour-wrap{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}.yusee-tour-admin-shell{border-left:0;border-right:0;border-radius:0;min-height:100vh}.yusee-tour-admin-side{padding:16px 12px}.yusee-tour-brand{margin:0 4px 12px}.yusee-tour-logo{width:36px;height:36px}.yusee-tour-brand strong{font-size:18px}.yusee-tour-admin-tabs{gap:8px;padding-bottom:2px}.yusee-tour-admin-tabs a{padding:10px 12px;font-size:13px}.yusee-tour-admin-main{padding:16px}.yusee-tour-topbar{height:auto;min-height:54px;margin:-16px -16px 18px;padding:12px 16px;gap:6px;align-items:flex-start;flex-direction:column}.yusee-tour-topbar strong{font-size:18px}.yusee-tour-page-head{margin-bottom:18px;flex-direction:column}.yusee-tour-page-head h2{font-size:24px}.yusee-tour-controls{display:grid;grid-template-columns:1fr;gap:10px}.yusee-tour-controls .yusee-tour-search{max-width:none}.yusee-tour-controls .yusee-tour-btn{width:100%}.yusee-tour-admin-list,.yusee-tour-grid{grid-template-columns:1fr;gap:14px}.yusee-tour-form .row,.yusee-tour-form .row-3,.yusee-tour-kv{grid-template-columns:1fr}.yusee-tour-modal{padding:12px;align-items:flex-end}.yusee-tour-modal-card{width:100%;max-height:92vh;border-radius:18px 18px 0 0}.yusee-tour-modal-head{padding:18px 18px 0}.yusee-tour-body,.yusee-tour-card-pad{padding:20px;display:flex;flex-direction:column;gap:8px}.yusee-tour-mini{display:flex;flex-direction:column}.yusee-tour-card-pad .yusee-tour-actions{margin-top:auto}.yusee-tour-actions{display:grid;grid-template-columns:1fr}.yusee-tour-actions .yusee-tour-btn,.yusee-tour-actions form,.yusee-tour-actions button,.yusee-tour-action-left,.yusee-tour-action-right{width:100%}}@media(max-width:1024px){body.page-id-738 .yusee-tour-wrap{padding:0!important}.yusee-tour-admin-shell{grid-template-columns:220px minmax(0,1fr)}.yusee-tour-admin-main{padding:22px}.yusee-tour-admin-list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.yusee-tour-modal{padding:16px}.yusee-tour-modal-card{width:100%;max-height:94vh}}@media(max-width:767px){.yusee-tour-media-row{grid-template-columns:1fr}.yusee-tour-media-row .yusee-tour-btn{width:100%}html:has(body.page-id-738){margin-top:46px!important}.yusee-tour-admin-shell{border-radius:0;grid-template-columns:1fr;min-height:calc(100vh - 46px)}.yusee-tour-admin-side{position:sticky;top:46px;z-index:5;background:#fff}.yusee-tour-admin-main{padding:16px}.yusee-tour-controls{grid-template-columns:1fr}.yusee-tour-controls .yusee-tour-btn{width:100%}.yusee-tour-admin-list{grid-template-columns:1fr}.yusee-tour-card-img{height:190px}.yusee-tour-modal{padding:0;align-items:stretch}.yusee-tour-modal-card{width:100%;height:100vh;max-height:100vh;border-radius:0}.yusee-tour-modal-head{position:sticky;top:0;background:#fff;z-index:3;padding:16px;border-bottom:1px solid var(--st-line)}.yusee-tour-modal-card>.yusee-tour-body{padding:16px 16px 0}.yusee-tour-modal .yusee-tour-actions{margin-left:-16px;margin-right:-16px;padding:12px 16px;background:#fff}.yusee-tour-page-head h2{font-size:24px}}.yusee-tour-modal{animation:yuseeFade .16s ease-out}.yusee-tour-modal-card{animation:yuseePop .18s ease-out}.yusee-tour-modal-head{padding:24px 28px 18px!important;border-bottom:1px solid var(--st-line);background:linear-gradient(180deg,#fff,#fbfdff)}.yusee-tour-modal-head .yusee-tour-title{font-size:24px;margin:0 0 6px}.yusee-tour-modal-head .yusee-tour-small{margin:0;line-height:1.5}.yusee-tour-modal-close{flex:0 0 auto;transition:.15s}.yusee-tour-modal-close:hover{background:#f2f4f7;transform:rotate(90deg)}.yusee-tour-modal-card>.yusee-tour-body{padding:26px 28px 0!important}.yusee-tour-modal .yusee-tour-form .block{margin-bottom:20px}.yusee-tour-modal .yusee-tour-form label{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#475467}.yusee-tour-modal .yusee-tour-form input,.yusee-tour-modal .yusee-tour-form textarea,.yusee-tour-modal .yusee-tour-form select{min-height:46px;border-color:#d0d5dd;background:#fff}.yusee-tour-modal .yusee-tour-form textarea{min-height:124px;resize:vertical}.yusee-tour-modal .yusee-tour-media-field{padding:14px;border:1px solid #eaecf0;border-radius:14px;background:#fcfcfd}.yusee-tour-modal .yusee-tour-media-row{grid-template-columns:minmax(0,1fr) auto auto}.yusee-tour-modal .yusee-tour-media-preview:empty{display:none}.yusee-tour-modal .yusee-tour-media-preview img{margin-top:4px;max-width:280px;max-height:180px;object-fit:cover}.yusee-tour-modal .yusee-tour-actions{margin:24px -28px 0!important;padding:16px 28px!important;justify-content:flex-end;box-shadow:0 -8px 24px rgba(15,23,42,.04)}@keyframes yuseeFade{from{opacity:0}to{opacity:1}}@keyframes yuseePop{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}@media(max-width:767px){.yusee-tour-modal-head{padding:16px!important}.yusee-tour-modal-head .yusee-tour-title{font-size:20px}.yusee-tour-modal-card>.yusee-tour-body{padding:16px!important}.yusee-tour-modal .yusee-tour-media-row{grid-template-columns:1fr}.yusee-tour-modal .yusee-tour-actions{margin:20px -16px 0!important;padding:12px 16px!important}.yusee-tour-modal .yusee-tour-actions .yusee-tour-btn{width:100%}.yusee-tour-modal .yusee-tour-media-preview img{max-width:100%;max-height:220px}}.yusee-tour-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 180px 150px auto;gap:10px;width:100%;align-items:center}.yusee-tour-toolbar select,.yusee-tour-toolbar input{width:100%;padding:11px 13px;border:1px solid var(--st-line);border-radius:10px;background:#fff}.yusee-tour-count{font-size:13px;font-weight:800;color:var(--st-muted);white-space:nowrap}.yusee-tour-view-compact .yusee-tour-admin-list{grid-template-columns:1fr}.yusee-tour-view-compact .yusee-tour-mini{display:grid;grid-template-columns:140px minmax(0,1fr)}.yusee-tour-view-compact .yusee-tour-card-img{height:100%;min-height:130px}.yusee-tour-view-compact .yusee-tour-card-pad{padding:16px}.yusee-tour-view-compact .yusee-tour-title{font-size:18px}.yusee-tour-hidden{display:none!important}.yusee-tour-no-results{display:none;margin-top:18px}.yusee-tour-no-results.show{display:block}@media(max-width:900px){.yusee-tour-toolbar{grid-template-columns:1fr 1fr}.yusee-tour-toolbar .yusee-tour-btn,.yusee-tour-toolbar .yusee-tour-count{width:100%;justify-content:center;text-align:center}}@media(max-width:640px){.yusee-tour-toolbar{grid-template-columns:1fr}.yusee-tour-view-compact .yusee-tour-mini{grid-template-columns:1fr}.yusee-tour-view-compact .yusee-tour-card-img{height:190px}}.yusee-tour-btn{text-decoration:none!important}.yusee-tour-btn:hover{text-decoration:none!important}.yusee-tour-admin-tabs a{text-decoration:none!important}.yusee-tour-card-img:before{content:"No image";position:absolute;inset:0;display:grid;place-items:center;color:#667085;font-weight:800;background:linear-gradient(135deg,#eef2f7,#dfe7ef)}.yusee-tour-card-img:has(img:not([src=""])):before{display:none}.yusee-tour-card-img img{position:relative;z-index:1}.yusee-tour-toolbar{grid-template-columns:minmax(320px,1fr) 180px 150px auto}.yusee-tour-controls{align-items:flex-start}.yusee-tour-controls>.yusee-tour-actions{padding-top:0}.yusee-tour-chip{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yusee-tour-card-actions .yusee-tour-btn{min-width:70px}.yusee-tour-danger-zone .yusee-tour-btn{min-width:84px}.yusee-tour-card-pad{min-height:220px}.yusee-tour-kv{word-break:break-word}.yusee-tour-admin-list{grid-template-columns:repeat(auto-fit,minmax(360px,1fr))}@media(max-width:1280px){.yusee-tour-admin-list{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.yusee-tour-toolbar{grid-template-columns:1fr 170px 150px auto}}@media(max-width:900px){.yusee-tour-toolbar{grid-template-columns:1fr 1fr}.yusee-tour-toolbar input{grid-column:1/-1}.yusee-tour-admin-list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}.yusee-tour-controls{display:grid!important;grid-template-columns:1fr;gap:14px!important;align-items:stretch!important}.yusee-tour-toolbar{grid-template-columns:minmax(280px,1.6fr) 180px 160px auto!important}.yusee-tour-toolbar input,.yusee-tour-toolbar select{min-height:44px;font-size:14px}.yusee-tour-toolbar .yusee-tour-btn{min-height:44px;box-shadow:0 8px 18px rgba(0,97,148,.18)}.yusee-tour-view-row{display:flex!important;align-items:center;justify-content:space-between;gap:12px;margin:0!important}.yusee-tour-view-row .yusee-tour-action-left{align-items:center}.yusee-tour-view-row .yusee-tour-btn{min-height:40px;padding:9px 13px}.yusee-tour-btn.active{background:#eaf6ff!important;color:var(--st-primary)!important;border-color:#9bd8ff!important}.yusee-tour-view-compact .yusee-tour-admin-list{gap:12px}.yusee-tour-view-compact .yusee-tour-mini{display:grid!important;grid-template-columns:112px minmax(0,1fr);align-items:stretch;border-radius:14px}.yusee-tour-view-compact .yusee-tour-card-img{height:auto!important;min-height:104px!important}.yusee-tour-view-compact .yusee-tour-card-img:before{font-size:12px}.yusee-tour-view-compact .yusee-tour-card-pad{min-height:auto!important;padding:14px 16px!important;gap:6px}.yusee-tour-view-compact .yusee-tour-title{font-size:17px!important;margin:0 0 2px!important}.yusee-tour-view-compact .yusee-tour-kv{display:none}.yusee-tour-view-compact .yusee-tour-meta-pills{margin-top:6px}.yusee-tour-package-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.yusee-tour-package-title-group{min-width:0}.yusee-tour-package-title-group .yusee-tour-title{word-break:break-word}.yusee-tour-updated{font-size:12px;font-weight:800;color:#667085;white-space:nowrap;background:#f9fafb;border:1px solid #eaecf0;border-radius:999px;padding:5px 8px}.yusee-tour-image-state{font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:5px 8px;background:#f2f4f7;color:#475467}.yusee-tour-image-state.ok{background:#ecfdf3;color:#067647}.yusee-tour-view-compact .yusee-tour-card-actions{margin-top:10px;display:flex;align-items:center;justify-content:space-between}.yusee-tour-view-compact .yusee-tour-action-left .yusee-tour-btn:first-child{order:2}.yusee-tour-view-compact .yusee-tour-action-left .yusee-tour-btn:last-child{order:1;background:var(--st-primary)!important;color:#fff!important;border-color:var(--st-primary)!important}.yusee-tour-card-actions form{margin:0}.yusee-tour-empty-tools{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.yusee-tour-field-label{display:block;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;color:#667085;margin-bottom:5px}.yusee-tour-toolbar-field{min-width:0}@media(max-width:900px){.yusee-tour-toolbar{grid-template-columns:1fr 1fr!important}.yusee-tour-toolbar-field:first-child{grid-column:1/-1}.yusee-tour-toolbar .yusee-tour-btn{width:100%}.yusee-tour-view-row{align-items:flex-start;flex-direction:column}.yusee-tour-view-row .yusee-tour-action-left{width:100%;display:grid;grid-template-columns:1fr 1fr}.yusee-tour-view-row .yusee-tour-btn{width:100%}}@media(max-width:640px){.yusee-tour-toolbar{grid-template-columns:1fr!important}.yusee-tour-view-row .yusee-tour-action-left{grid-template-columns:1fr}.yusee-tour-view-compact .yusee-tour-mini{grid-template-columns:84px minmax(0,1fr)}.yusee-tour-view-compact .yusee-tour-card-img{min-height:92px!important}.yusee-tour-view-compact .yusee-tour-card-pad{padding:12px!important}.yusee-tour-package-head{display:block}.yusee-tour-updated{display:inline-flex;margin-top:6px}.yusee-tour-meta-pills{gap:6px}.yusee-tour-pill{font-size:11px;padding:4px 7px}.yusee-tour-card-actions{display:grid!important;grid-template-columns:1fr;gap:8px}.yusee-tour-action-left{display:grid!important;grid-template-columns:1fr 1fr;width:100%}.yusee-tour-danger-zone,.yusee-tour-danger-zone form,.yusee-tour-danger-zone button{width:100%}}.yusee-tour-form-section{border:1px solid #eaecf0;border-radius:16px;background:#fff;padding:18px;margin-bottom:18px;box-shadow:0 1px 2px rgba(15,23,42,.04)}.yusee-tour-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #f2f4f7}.yusee-tour-section-head h4{margin:0;font-size:15px;line-height:1.25;color:#101828}.yusee-tour-section-head p{margin:4px 0 0;font-size:13px;color:#667085}.yusee-tour-form-section hr{display:none}.yusee-tour-repeat-card{border:1px solid #edf0f3!important;border-radius:14px!important;background:#fcfcfd!important;padding:14px!important;margin-bottom:12px!important;box-shadow:none!important}.yusee-tour-repeat-card .yusee-tour-section-head{border-bottom:0;margin-bottom:10px;padding-bottom:0}.yusee-tour-repeat-index{width:28px;height:28px;border-radius:999px;background:#eaf6ff;color:var(--st-primary);display:grid;place-items:center;font-weight:900;font-size:12px;flex:0 0 auto}.yusee-tour-form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.yusee-tour-form-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.yusee-tour-category-card .yusee-tour-card-img{height:160px}.yusee-tour-category-card .yusee-tour-title{margin-bottom:4px}.yusee-tour-category-card .yusee-tour-desc{min-height:42px}.yusee-tour-category-card .yusee-tour-card-actions .yusee-tour-btn:first-child{background:var(--st-primary)!important;color:#fff!important;border-color:var(--st-primary)!important}@media(max-width:767px){.yusee-tour-form-section{padding:14px;margin-bottom:14px}.yusee-tour-section-head{display:block}.yusee-tour-form-grid-2,.yusee-tour-form-grid-3{grid-template-columns:1fr}.yusee-tour-repeat-card{padding:12px!important}.yusee-tour-category-card .yusee-tour-card-img{height:120px}}.yusee-tour-repeat-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.yusee-tour-repeat-card.is-empty .yusee-tour-remove-row{display:none}.yusee-tour-add-row{margin-top:4px}.yusee-tour-form-section>.yusee-tour-btn{margin-top:6px}.yusee-tour-repeat-card.removing{opacity:.35;transform:scale(.99)}.yusee-tour-form-section{position:relative;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;border:0!important;box-shadow:0 0 0 1px #e4e7ec,0 10px 24px rgba(15,23,42,.05)!important}.yusee-tour-form-section:before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:linear-gradient(180deg,var(--st-primary),#93ccff)}.yusee-tour-form-section>.yusee-tour-section-head{margin:-18px -18px 18px!important;padding:16px 18px 14px 28px!important;background:linear-gradient(90deg,#eef8ff 0%,#ffffff 70%)!important;border-bottom:1px solid #d9ecf7!important}.yusee-tour-section-head h4{font-size:16px!important}.yusee-tour-section-head p{max-width:720px}.yusee-tour-repeat-card{position:relative;background:#fff!important;border:0!important;box-shadow:inset 0 0 0 1px #e9eef5,0 4px 14px rgba(15,23,42,.04)!important}.yusee-tour-repeat-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#c7d7e6;border-radius:14px 0 0 14px}.yusee-tour-repeat-card .yusee-tour-section-head{background:#f8fafc!important;margin:-14px -14px 12px!important;padding:12px 14px 10px 18px!important;border-bottom:1px solid #eef2f6!important;border-radius:14px 14px 0 0}.yusee-tour-repeat-index{background:var(--st-primary)!important;color:#fff!important;box-shadow:0 6px 14px rgba(0,97,148,.18)}.yusee-tour-modal .yusee-tour-form .block{position:relative}.yusee-tour-modal .yusee-tour-form .block+ .block{padding-top:4px}.yusee-tour-modal .yusee-tour-form .row,.yusee-tour-modal .yusee-tour-form .row-3{padding:10px 0;border-top:1px dashed #d9e2ec}.yusee-tour-modal .yusee-tour-form .row:first-child,.yusee-tour-modal .yusee-tour-form .row-3:first-child{border-top:0;padding-top:0}.yusee-tour-form-section + .yusee-tour-form-section{margin-top:24px!important}.yusee-tour-form-section + .yusee-tour-form-section:after{content:"";position:absolute;left:24px;right:24px;top:-13px;height:1px;background:linear-gradient(90deg,transparent,#bfd7ea,transparent)}.yusee-tour-media-field{background:#f8fbff!important;border:1px solid #d8eafb!important}.yusee-tour-card-actions{border-top:1px solid #edf1f5;padding-top:12px}.yusee-tour-admin-list .yusee-tour-mini{box-shadow:0 0 0 1px #e6eaf0,0 6px 18px rgba(15,23,42,.045)!important}.yusee-tour-view-compact .yusee-tour-mini{border-left:5px solid #d6e8f6!important}.yusee-tour-view-compact .yusee-tour-mini:hover{border-left-color:var(--st-primary)!important;background:#fff}.yusee-tour-controls{box-shadow:0 0 0 1px #e4e7ec,0 8px 22px rgba(15,23,42,.05)!important;border:0!important;background:linear-gradient(180deg,#fff,#fbfdff)!important}.yusee-tour-view-row{border-top:1px solid #edf2f7;padding-top:12px}@media(max-width:767px){.yusee-tour-form-section>.yusee-tour-section-head{margin:-14px -14px 14px!important;padding:14px 14px 12px 22px!important}.yusee-tour-repeat-card .yusee-tour-section-head{margin:-12px -12px 10px!important}.yusee-tour-modal .yusee-tour-form .row,.yusee-tour-modal .yusee-tour-form .row-3{border-top:0;padding:0}.yusee-tour-card-actions{padding-top:10px}}.yusee-tour-topbar{display:none!important}.yusee-tour-wrap,.yusee-tour-wrap *{box-sizing:border-box}.yusee-tour-wrap a,.yusee-tour-wrap button,.yusee-tour-wrap input,.yusee-tour-wrap select,.yusee-tour-wrap textarea{font-family:"Work Sans",system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif!important}.yusee-tour-wrap a:not(.yusee-tour-link),.yusee-tour-wrap a:hover,.yusee-tour-wrap a:focus,.yusee-tour-wrap a:visited{text-decoration:none!important}.yusee-tour-btn,.yusee-tour-wrap button.yusee-tour-btn,.yusee-tour-wrap a.yusee-tour-btn{min-height:34px!important;padding:7px 11px!important;border-radius:9px!important;font-size:12px!important;line-height:1.2!important;font-weight:800!important;box-shadow:none!important;text-decoration:none!important;text-transform:none!important;letter-spacing:0!important;appearance:none!important;-webkit-appearance:none!important}.yusee-tour-btn:hover,.yusee-tour-btn:focus,.yusee-tour-btn:active,.yusee-tour-wrap a.yusee-tour-btn:hover,.yusee-tour-wrap button.yusee-tour-btn:hover{filter:none!important;transform:none!important;text-decoration:none!important;background:var(--st-primary2)!important;border-color:var(--st-primary2)!important;color:#fff!important;outline:0!important;box-shadow:0 0 0 3px rgba(0,97,148,.14)!important}.yusee-tour-btn.alt:hover,.yusee-tour-btn.alt:focus{background:#f8fafc!important;border-color:#98a2b3!important;color:#101828!important}.yusee-tour-btn.danger:hover,.yusee-tour-btn.danger:focus{background:#fff1f3!important;border-color:#fda4af!important;color:var(--st-error)!important}.yusee-tour-btn.active,.yusee-tour-btn.active:hover{background:#eaf6ff!important;color:var(--st-primary)!important;border-color:#9bd8ff!important}.yusee-tour-toolbar .yusee-tour-btn,.yusee-tour-view-row .yusee-tour-btn{min-height:34px!important;padding:7px 11px!important}.yusee-tour-media-row .yusee-tour-btn{min-height:36px!important}.yusee-tour-modal .yusee-tour-actions .yusee-tour-btn{min-height:38px!important;padding:8px 13px!important}.yusee-tour-modal-close,.yusee-tour-modal-close:hover,.yusee-tour-modal-close:focus{width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border-radius:999px!important;background:#fff!important;color:#101828!important;border:1px solid #d0d5dd!important;transform:none!important;text-decoration:none!important;box-shadow:none!important}.yusee-tour-admin-tabs a,.yusee-tour-admin-tabs a:hover,.yusee-tour-admin-tabs a:focus{box-shadow:none!important;text-decoration:none!important}.yusee-tour-card-actions .yusee-tour-btn{min-width:58px!important}.yusee-tour-danger-zone .yusee-tour-btn{min-width:64px!important}.yusee-tour-admin-main{padding-top:24px!important}.yusee-tour-page-head{margin-top:0!important}.yusee-tour-logo{width:38px!important;height:38px!important}.yusee-tour-brand strong{font-size:19px!important}@media(max-width:767px){.yusee-tour-btn,.yusee-tour-wrap button.yusee-tour-btn,.yusee-tour-wrap a.yusee-tour-btn{min-height:38px!important;font-size:12px!important}.yusee-tour-admin-main{padding-top:16px!important}.yusee-tour-media-row .yusee-tour-btn,.yusee-tour-actions .yusee-tour-btn{width:100%!important}}.yusee-tour-modal .yusee-tour-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important}.yusee-tour-modal .yusee-tour-actions .yusee-tour-btn,.yusee-tour-modal .yusee-tour-actions button.yusee-tour-btn,.yusee-tour-modal .yusee-tour-actions a.yusee-tour-btn{width:auto!important;min-width:82px!important;max-width:none!important;min-height:34px!important;height:34px!important;padding:7px 12px!important;border-radius:9px!important;font-size:12px!important;line-height:1!important;white-space:nowrap!important;flex:0 0 auto!important}.yusee-tour-modal .yusee-tour-actions .yusee-tour-btn[type="submit"]{min-width:112px!important;background:var(--st-primary)!important;color:#fff!important;border-color:var(--st-primary)!important}.yusee-tour-modal .yusee-tour-actions .yusee-tour-btn.alt{background:#fff!important;color:#344054!important;border-color:#d0d5dd!important}.yusee-tour-modal .yusee-tour-actions .yusee-tour-btn:hover,.yusee-tour-modal .yusee-tour-actions .yusee-tour-btn:focus{height:34px!important;min-height:34px!important;padding:7px 12px!important;text-decoration:none!important;transform:none!important}.yusee-tour-modal .yusee-tour-actions .yusee-tour-btn[type="submit"]:hover{background:var(--st-primary2)!important;border-color:var(--st-primary2)!important;color:#fff!important}.yusee-tour-modal .yusee-tour-actions .yusee-tour-btn.alt:hover{background:#f8fafc!important;border-color:#98a2b3!important;color:#101828!important}.yusee-tour-modal .yusee-tour-media-row .yusee-tour-btn{min-height:34px!important;height:34px!important;padding:7px 10px!important;font-size:12px!important}.yusee-tour-repeat-card .yusee-tour-section-head .yusee-tour-btn{min-height:30px!important;height:30px!important;padding:6px 9px!important;font-size:11px!important;border-radius:8px!important}.yusee-tour-modal .yusee-tour-modal-close{font-size:18px!important;line-height:1!important}@media(max-width:767px){.yusee-tour-modal .yusee-tour-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.yusee-tour-modal .yusee-tour-actions .yusee-tour-btn,.yusee-tour-modal .yusee-tour-actions button.yusee-tour-btn,.yusee-tour-modal .yusee-tour-actions a.yusee-tour-btn{width:100%!important;min-width:0!important}.yusee-tour-modal .yusee-tour-media-row .yusee-tour-btn{width:100%!important}.yusee-tour-repeat-card .yusee-tour-section-head{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important}.yusee-tour-repeat-card .yusee-tour-section-head .yusee-tour-btn{width:auto!important;min-width:62px!important}}.yusee-tour-field-error{margin-top:6px;color:var(--st-error);font-size:12px;font-weight:800}.yusee-tour-invalid{border-color:var(--st-error)!important;box-shadow:0 0 0 3px rgba(186,26,26,.12)!important}.yusee-tour-btn.is-loading{opacity:.72;pointer-events:none}.yusee-tour-btn.is-loading:after{content:"";width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:999px;display:inline-block;animation:yuseeSpin .65s linear infinite}@keyframes yuseeSpin{to{transform:rotate(360deg)}}.yusee-tour-bulkbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:10px 12px;background:#f8fafc;border:1px solid #e4e7ec;border-radius:12px}.yusee-tour-bulkbar label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:800;color:#344054}.yusee-tour-row-check{position:absolute;top:10px;left:10px;z-index:3;width:18px;height:18px}.yusee-tour-mini{position:relative}.yusee-tour-status{font-size:11px;font-weight:900;text-transform:uppercase;border-radius:999px;padding:5px 8px;background:#ecfdf3;color:#067647}.yusee-tour-status.draft{background:#fff7ed;color:#c2410c}@media(max-width:767px){.yusee-tour-bulkbar{display:grid;grid-template-columns:1fr}.yusee-tour-bulkbar .yusee-tour-actions{margin:0!important}}.yusee-tour-bulkbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:12px 0 0!important;padding:10px 12px!important;min-height:0!important;background:#fff!important;border:1px solid #e4e7ec!important;border-radius:12px!important}.yusee-tour-bulkbar label{margin:0!important;min-height:34px!important;display:flex!important;align-items:center!important;gap:8px!important;font-size:13px!important}.yusee-tour-bulkbar input[type="checkbox"]{width:16px!important;height:16px!important;margin:0!important}.yusee-tour-bulkbar .yusee-tour-actions{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin:0!important;width:auto!important}.yusee-tour-bulkbar select{width:160px!important;min-width:160px!important;max-width:180px!important;height:34px!important;min-height:34px!important;padding:6px 10px!important;border-radius:8px!important;font-size:13px!important;line-height:1.2!important}.yusee-tour-bulkbar .yusee-tour-btn{width:auto!important;min-width:58px!important;height:34px!important;min-height:34px!important;padding:7px 11px!important}.yusee-tour-empty.yusee-tour-no-results:not(.show){display:none!important}.yusee-tour-admin-list:empty{display:none!important}.yusee-tour-controls{margin-bottom:0!important}.yusee-tour-admin-list{margin-top:12px!important}@media(max-width:767px){.yusee-tour-bulkbar{display:grid!important;grid-template-columns:1fr!important}.yusee-tour-bulkbar .yusee-tour-actions{display:grid!important;grid-template-columns:1fr auto!important;width:100%!important}.yusee-tour-bulkbar select{width:100%!important;max-width:none!important}}.yusee-tour-text-block{margin:14px 0 0;color:var(--st-muted);line-height:1.65}.yusee-tour-text-block p{margin:0 0 10px}.yusee-tour-text-block p:last-child{margin-bottom:0}.ot-admin-wrapper{display:grid!important;gap:18px!important}.ot-admin-wrapper .ot-box{background:#fff!important;border:1px solid var(--st-line)!important;border-radius:16px!important;box-shadow:0 1px 3px rgba(15,23,42,.05)!important;overflow:hidden!important;padding:0!important;margin:0 0 18px!important}.ot-admin-wrapper .ot-box-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin:0!important;padding:18px 20px!important;border-bottom:1px solid var(--st-line)!important;background:linear-gradient(180deg,#fff,#fbfdff)!important}.ot-admin-wrapper .ot-box-header h3{margin:0!important;font-size:20px!important;line-height:1.25!important;font-weight:900!important;color:var(--st-text)!important}.ot-admin-wrapper form{padding:20px!important}.ot-admin-wrapper .ot-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}.ot-admin-wrapper .form-group,.ot-admin-wrapper .form-row-split{margin-bottom:16px!important}.ot-admin-wrapper label{display:block!important;margin:0 0 7px!important;font-size:12px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.04em!important;color:#475467!important}.ot-admin-wrapper input[type=text],.ot-admin-wrapper input[type=url],.ot-admin-wrapper input[type=number],.ot-admin-wrapper input[type=date],.ot-admin-wrapper input[type=file],.ot-admin-wrapper textarea,.ot-admin-wrapper select{width:100%!important;min-height:44px!important;padding:10px 12px!important;border:1px solid #d0d5dd!important;border-radius:10px!important;background:#fff!important;color:var(--st-text)!important;box-sizing:border-box!important;outline:0!important}.ot-admin-wrapper textarea{min-height:120px!important;resize:vertical!important}.ot-admin-wrapper input:focus,.ot-admin-wrapper textarea:focus,.ot-admin-wrapper select:focus{border-color:var(--st-primary)!important;box-shadow:0 0 0 3px rgba(0,97,148,.12)!important}.ot-admin-wrapper button,.ot-admin-wrapper .button,.ot-admin-wrapper .btn-save,.ot-admin-wrapper input[type=submit]{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:36px!important;padding:8px 13px!important;border-radius:10px!important;text-decoration:none!important;background:var(--st-primary)!important;border:1px solid var(--st-primary)!important;color:#fff!important;font-weight:900!important;cursor:pointer!important}.ot-admin-wrapper a.button,.ot-admin-wrapper .button-secondary,.ot-admin-wrapper .btn-cancel{background:#fff!important;color:var(--st-text)!important;border-color:var(--st-line2)!important}.ot-admin-wrapper .delete,.ot-admin-wrapper .btn-delete,.ot-admin-wrapper a[href*="delete"],.ot-admin-wrapper button[name*="delete"]{background:#fff5f5!important;color:var(--st-error)!important;border-color:#fecaca!important}.ot-admin-wrapper .ot-table-wrapper{padding:0!important;overflow:auto!important}.ot-admin-wrapper table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;background:#fff!important}.ot-admin-wrapper thead tr{background:#f8fafc!important;border:0!important}.ot-admin-wrapper th{padding:12px 14px!important;border-bottom:1px solid var(--st-line)!important;font-size:12px!important;text-transform:uppercase!important;letter-spacing:.04em!important;color:#475467!important;font-weight:900!important}.ot-admin-wrapper td{padding:14px!important;border-bottom:1px solid #eef2f7!important;vertical-align:middle!important}.ot-admin-wrapper tbody tr:hover{background:#fbfdff!important}.ot-admin-wrapper .tbl-img{width:64px!important;height:64px!important;border-radius:12px!important;background-color:#eef2f7!important;box-shadow:inset 0 0 0 1px #e4e7ec!important}.ot-admin-wrapper .tbl-title{font-size:15px!important;font-weight:900!important;color:var(--st-text)!important;margin-bottom:5px!important}.ot-admin-wrapper .pdf-icon{display:inline-flex!important;margin-left:6px!important}.ot-admin-wrapper td:nth-child(3){font-size:12px!important;font-weight:900!important}.ot-admin-wrapper td:nth-child(3) span,.ot-admin-wrapper .status,.ot-admin-wrapper .badge{display:inline-flex!important;align-items:center!important;padding:5px 9px!important;border-radius:999px!important;background:#ecfdf3!important;color:#067647!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important}.ot-admin-wrapper td:nth-child(4){white-space:nowrap!important}.ot-admin-wrapper td:nth-child(4) a,.ot-admin-wrapper td:nth-child(4) button{margin:2px!important}.ot-admin-wrapper .wp-editor-wrap{border:1px solid #d0d5dd!important;border-radius:12px!important;overflow:hidden!important}.ot-admin-wrapper .wp-editor-tabs{padding:8px 8px 0!important}.ot-admin-wrapper .quicktags-toolbar{border-bottom:1px solid #e4e7ec!important}.yusee-tour-admin-main:has(.ot-admin-wrapper) .yusee-tour-page-head{margin-bottom:18px!important}.yusee-tour-admin-main:has(.ot-admin-wrapper) .yusee-tour-page-head:after{content:"TWD Admin style";display:inline-flex;align-items:center;height:28px;padding:0 10px;border-radius:999px;background:#eaf6ff;color:var(--st-primary);font-size:12px;font-weight:900}@media(max-width:1024px){.ot-admin-wrapper .ot-form-grid{grid-template-columns:1fr!important}.ot-admin-wrapper td,.ot-admin-wrapper th{padding:10px!important}}@media(max-width:767px){.ot-admin-wrapper .ot-box-header{padding:16px!important}.ot-admin-wrapper form{padding:16px!important}.ot-admin-wrapper table,.ot-admin-wrapper thead,.ot-admin-wrapper tbody,.ot-admin-wrapper tr,.ot-admin-wrapper th,.ot-admin-wrapper td{display:block!important}.ot-admin-wrapper thead{display:none!important}.ot-admin-wrapper tr{border-bottom:1px solid var(--st-line)!important;padding:12px!important}.ot-admin-wrapper td{border:0!important;padding:6px 0!important}.ot-admin-wrapper td:nth-child(4){white-space:normal!important;display:flex!important;gap:8px!important;flex-wrap:wrap!important}}.ot-admin-wrapper .ot-toolbox{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 12px!important;padding:12px!important;background:#fff!important;border:1px solid var(--st-line)!important;border-radius:14px!important}.ot-admin-wrapper .ot-toolbox input[type=search]{max-width:360px!important}.ot-admin-wrapper .ot-count{display:inline-flex!important;align-items:center!important;height:28px!important;padding:0 10px!important;border-radius:999px!important;background:#f2f4f7!important;color:#344054!important;font-size:12px!important;font-weight:900!important}.ot-admin-wrapper tr.ot-hidden{display:none!important}.ot-admin-wrapper .ot-empty-filter{display:none;margin:12px 0!important}.ot-admin-wrapper .ot-empty-filter.show{display:block!important}@media(max-width:767px){.ot-admin-wrapper .ot-toolbox{display:grid!important;grid-template-columns:1fr!important}.ot-admin-wrapper .ot-toolbox input[type=search]{max-width:none!important}}.yusee-tour-category-bg-card{position:relative;min-height:320px;border-radius:22px!important;overflow:hidden!important;background-size:cover!important;background-position:center!important;background-color:#1f2937!important;text-decoration:none!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 14px 34px rgba(15,23,42,.16)!important;transition:transform .22s ease,box-shadow .22s ease!important}.yusee-tour-category-bg-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.54));z-index:1}.yusee-tour-category-bg-card:hover{transform:translateY(-3px);box-shadow:0 20px 46px rgba(15,23,42,.22)!important}.yusee-tour-category-overlay{position:relative;z-index:2;width:100%;padding:34px;text-align:center;display:grid;place-items:center;gap:10px}.yusee-tour-category-bg-card .yusee-tour-title{margin:0!important;color:#fff!important;font-family:"Work Sans",system-ui,sans-serif!important;font-size:clamp(28px,4vw,48px)!important;line-height:1!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.04em!important;text-shadow:0 3px 14px rgba(0,0,0,.75),0 1px 2px rgba(0,0,0,.9)!important}.yusee-tour-category-bg-card .yusee-tour-desc{max-width:620px;margin:0!important;color:#fff!important;font-family:"Work Sans",system-ui,sans-serif!important;font-size:clamp(14px,1.7vw,18px)!important;line-height:1.45!important;font-weight:600!important;text-shadow:0 2px 10px rgba(0,0,0,.8),0 1px 2px rgba(0,0,0,.95)!important}.yusee-tour-grid:has(.yusee-tour-category-bg-card){grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;gap:24px!important}@media(max-width:767px){.yusee-tour-category-bg-card{min-height:240px!important;border-radius:18px!important}.yusee-tour-category-overlay{padding:24px}.yusee-tour-category-bg-card .yusee-tour-title{font-size:32px!important}}.yusee-tour-wrap:has(.yusee-tour-category-bg-card){box-sizing:border-box!important;width:100%!important;max-width:1240px!important;margin:0 auto!important;padding:48px 24px!important}.yusee-tour-wrap:has(.yusee-tour-category-bg-card) .yusee-tour-grid{padding:0!important}.yusee-tour-category-overlay{padding:24px!important}@media(max-width:1024px){.yusee-tour-wrap:has(.yusee-tour-category-bg-card){padding:36px 20px!important}}@media(max-width:767px){.yusee-tour-wrap:has(.yusee-tour-category-bg-card){width:100%!important;max-width:none!important;margin:0!important;padding:24px 16px!important}.yusee-tour-category-overlay{padding:18px!important}}.yusee-tour-grid:has(.yusee-tour-category-bg-card){align-items:center!important;justify-items:center!important}.yusee-tour-category-bg-card{width:100%!important;max-width:420px!important;align-items:center!important;justify-content:center!important;opacity:0;transform:translateY(18px) scale(.985);animation:yuseeCatIn .72s cubic-bezier(.2,.75,.2,1) forwards}.yusee-tour-category-bg-card:nth-child(1){animation-delay:.05s}.yusee-tour-category-bg-card:nth-child(2){animation-delay:.14s}.yusee-tour-category-bg-card:nth-child(3){animation-delay:.23s}.yusee-tour-category-bg-card:nth-child(4){animation-delay:.32s}.yusee-tour-category-bg-card:before{background:linear-gradient(0deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.48) 34%,rgba(0,0,0,.18) 66%,rgba(0,0,0,.04) 100%)!important}.yusee-tour-category-overlay{min-height:100%;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;margin:auto!important}.yusee-tour-category-bg-card .yusee-tour-title{font-family:Montserrat,"Work Sans",system-ui,sans-serif!important;max-width:92%!important;text-wrap:balance!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:auto!important;font-size:clamp(25px,3.2vw,42px)!important;line-height:1.04!important;letter-spacing:.025em!important}.yusee-tour-category-bg-card .yusee-tour-desc{max-width:88%!important;text-align:center!important;text-wrap:pretty!important;margin-left:auto!important;margin-right:auto!important}@keyframes yuseeCatIn{0%{opacity:0;transform:translateY(18px) scale(.985);filter:blur(5px)}60%{opacity:1;filter:blur(0)}100%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}@media(prefers-reduced-motion:reduce){.yusee-tour-category-bg-card{opacity:1!important;transform:none!important;animation:none!important}}@media(max-width:767px){.yusee-tour-category-bg-card{max-width:none!important}.yusee-tour-category-bg-card .yusee-tour-title{font-size:clamp(24px,8vw,34px)!important;line-height:1.06!important;max-width:94%!important}}.yusee-tour-wrap:has(.yusee-tour-category-bg-card){max-width:80%!important;width:80%!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}.yusee-tour-grid:has(.yusee-tour-category-bg-card){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;justify-content:center!important;justify-items:stretch!important;align-items:center!important;margin-left:auto!important;margin-right:auto!important;width:100%!important}.yusee-tour-category-bg-card{max-width:none!important;width:100%!important;aspect-ratio:1.08/1!important;min-height:0!important;background-size:cover!important;will-change:transform,box-shadow}.yusee-tour-category-bg-card .yusee-tour-title{white-space:normal!important;word-break:keep-all!important;overflow-wrap:normal!important;hyphens:none!important;max-width:96%!important;font-size:clamp(24px,2.55vw,40px)!important;line-height:.98!important}.yusee-tour-category-bg-card:hover{transform:translateY(-8px) scale(1.025)!important;box-shadow:0 26px 58px rgba(15,23,42,.28)!important}.yusee-tour-category-bg-card:hover:before{background:linear-gradient(0deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.44) 42%,rgba(0,0,0,.08) 100%)!important}.yusee-tour-category-bg-card:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.22),transparent 42%);opacity:0;z-index:1;transition:opacity .28s ease}.yusee-tour-category-bg-card:hover:after{opacity:1}.yusee-tour-category-overlay{transition:transform .28s ease}.yusee-tour-category-bg-card:hover .yusee-tour-category-overlay{transform:translateY(-4px)}@media(max-width:1200px){.yusee-tour-grid:has(.yusee-tour-category-bg-card){grid-template-columns:repeat(2,minmax(0,1fr))!important}.yusee-tour-category-bg-card .yusee-tour-title{font-size:clamp(25px,4vw,38px)!important}}@media(max-width:767px){.yusee-tour-wrap:has(.yusee-tour-category-bg-card){width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important}.yusee-tour-grid:has(.yusee-tour-category-bg-card){grid-template-columns:1fr!important}.yusee-tour-category-bg-card{aspect-ratio:1.15/1!important}.yusee-tour-category-bg-card .yusee-tour-title{font-size:clamp(25px,8vw,36px)!important}}.yusee-tour-grid:has(.yusee-tour-category-bg-card){display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:24px!important}.yusee-tour-category-bg-card{flex:0 1 calc((100% - 48px)/3)!important;min-width:260px!important;max-width:340px!important;aspect-ratio:1.08/1!important}.yusee-tour-category-bg-card .yusee-tour-title{font-size:clamp(25px,2.1vw,38px)!important;line-height:1.02!important;max-width:98%!important;letter-spacing:.015em!important}.yusee-tour-category-bg-card .yusee-tour-desc{font-size:clamp(13px,1.05vw,18px)!important;line-height:1.45!important;max-width:92%!important}.yusee-tour-category-bg-card .yusee-tour-title:has(+ .yusee-tour-desc){text-align:center!important}@media(max-width:1200px){.yusee-tour-category-bg-card{flex-basis:calc((100% - 24px)/2)!important;max-width:360px!important}.yusee-tour-category-bg-card .yusee-tour-title{font-size:clamp(26px,3.5vw,38px)!important}}@media(max-width:767px){.yusee-tour-category-bg-card{flex-basis:100%!important;max-width:none!important}.yusee-tour-category-bg-card .yusee-tour-title{font-size:clamp(24px,7.5vw,34px)!important}}.yusee-tour-category-bg-card{flex:0 1 calc((100% - 48px)/3)!important;max-width:none!important;min-width:0!important;aspect-ratio:1.08/1!important}.yusee-tour-category-bg-card .yusee-tour-title{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;font-size:clamp(22px,2.05vw,38px)!important;line-height:1!important;max-width:96%!important}.yusee-tour-category-bg-card .yusee-tour-desc{font-size:clamp(13px,1vw,17px)!important;max-width:82%!important}@media(max-width:1200px){.yusee-tour-category-bg-card{flex-basis:calc((100% - 24px)/2)!important;max-width:none!important}.yusee-tour-category-bg-card .yusee-tour-title{font-size:clamp(22px,3.1vw,34px)!important}}@media(max-width:767px){.yusee-tour-category-bg-card{flex-basis:100%!important}.yusee-tour-category-bg-card .yusee-tour-title{white-space:normal!important;text-wrap:balance!important;font-size:clamp(24px,7.5vw,34px)!important}}.yusee-tour-category-bg-card .yusee-tour-title{font-size:clamp(22px,1.95vw,36px)!important;white-space:nowrap!important;max-width:100%!important;letter-spacing:.005em!important}.yusee-tour-category-bg-card.yusee-tour-title-long .yusee-tour-title{font-size:clamp(18px,1.35vw,26px)!important;letter-spacing:-.015em!important;text-shadow:0 3px 12px rgba(0,0,0,.85),0 1px 2px rgba(0,0,0,1)!important}.yusee-tour-category-bg-card.yusee-tour-title-long .yusee-tour-desc{font-size:clamp(12px,.9vw,15px)!important;line-height:1.35!important;max-width:90%!important}.yusee-tour-category-overlay{overflow:visible!important}.yusee-tour-category-bg-card{overflow:hidden!important}@media(max-width:767px){.yusee-tour-category-bg-card .yusee-tour-title,.yusee-tour-category-bg-card.yusee-tour-title-long .yusee-tour-title{white-space:normal!important;font-size:clamp(23px,7vw,32px)!important;letter-spacing:.005em!important}}.yusee-tour-wrap:has(.yusee-tour-category-bg-card){width:min(80vw,1524px)!important;max-width:min(80vw,1524px)!important;margin:0 auto!important;padding:64px 0!important}.yusee-tour-grid:has(.yusee-tour-category-bg-card){display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:stretch!important;gap:24px!important;width:100%!important;margin:0 auto!important}.yusee-tour-category-bg-card{flex:0 1 calc((100% - 48px)/3)!important;max-width:none!important;min-width:0!important;aspect-ratio:1.08/1!important}.yusee-tour-category-bg-card .yusee-tour-title,.yusee-tour-category-bg-card.yusee-tour-title-long .yusee-tour-title{white-space:normal!important;text-wrap:balance!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;max-width:94%!important;font-size:clamp(24px,2.1vw,42px)!important;line-height:1.02!important;letter-spacing:.01em!important}.yusee-tour-category-bg-card.yusee-tour-title-long .yusee-tour-title{font-size:clamp(22px,1.72vw,34px)!important;max-width:96%!important}.yusee-tour-category-bg-card .yusee-tour-desc{max-width:88%!important;white-space:normal!important;text-wrap:balance!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}@media(max-width:1200px){.yusee-tour-wrap:has(.yusee-tour-category-bg-card){width:calc(100% - 48px)!important;max-width:calc(100% - 48px)!important}.yusee-tour-category-bg-card{flex-basis:calc((100% - 24px)/2)!important}.yusee-tour-category-bg-card.yusee-tour-title-long .yusee-tour-title{font-size:clamp(22px,3vw,34px)!important}}@media(max-width:767px){.yusee-tour-wrap:has(.yusee-tour-category-bg-card){width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important;padding:32px 0!important}.yusee-tour-category-bg-card{flex-basis:100%!important}.yusee-tour-category-bg-card .yusee-tour-title,.yusee-tour-category-bg-card.yusee-tour-title-long .yusee-tour-title{font-size:clamp(25px,7.5vw,34px)!important}}.yusee-tour-wrap:has(.yusee-tour-category-bg-card){width:100%!important;max-width:100%!important;margin:0!important;padding:64px 0!important;box-sizing:border-box!important}.yusee-tour-grid:has(.yusee-tour-category-bg-card){width:100%!important;max-width:100%!important;margin:0!important;display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:stretch!important;gap:24px!important}.yusee-tour-category-bg-card{flex:0 1 calc((100% - 48px)/3)!important;max-width:none!important;min-width:0!important}@media(max-width:1200px){.yusee-tour-wrap:has(.yusee-tour-category-bg-card){width:100%!important;max-width:100%!important}.yusee-tour-category-bg-card{flex-basis:calc((100% - 24px)/2)!important}}@media(max-width:767px){.yusee-tour-wrap:has(.yusee-tour-category-bg-card){width:100%!important;max-width:100%!important;padding:32px 0!important}.yusee-tour-category-bg-card{flex-basis:100%!important}}.yusee-tour-wrap:has(.yusee-tour-category-bg-card){width:100%!important;max-width:100%!important;margin:0!important;padding:36px 0!important}.yusee-tour-grid:has(.yusee-tour-category-bg-card){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;width:100%!important;max-width:100%!important;margin:0!important;justify-items:stretch!important;align-items:stretch!important}.yusee-tour-category-bg-card{width:100%!important;max-width:none!important;min-width:0!important;aspect-ratio:1.22/1!important;min-height:0!important;flex:none!important}.yusee-tour-category-bg-card .yusee-tour-title{white-space:normal!important;text-wrap:balance!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;font-size:clamp(24px,2.25vw,42px)!important;line-height:1.02!important;max-width:94%!important}.yusee-tour-category-bg-card.yusee-tour-title-long .yusee-tour-title{font-size:clamp(20px,1.55vw,30px)!important;line-height:1.05!important;max-width:96%!important}.yusee-tour-category-bg-card .yusee-tour-desc:empty{display:none!important}.yusee-tour-category-bg-card .yusee-tour-desc{font-size:clamp(13px,1vw,16px)!important;max-width:88%!important}.yusee-tour-category-overlay{padding:18px!important}@media(max-width:1200px){.yusee-tour-grid:has(.yusee-tour-category-bg-card){grid-template-columns:repeat(2,minmax(0,1fr))!important}.yusee-tour-category-bg-card.yusee-tour-title-long .yusee-tour-title{font-size:clamp(21px,2.9vw,32px)!important}}@media(max-width:767px){.yusee-tour-wrap:has(.yusee-tour-category-bg-card){padding:24px 0!important}.yusee-tour-grid:has(.yusee-tour-category-bg-card){grid-template-columns:1fr!important;gap:14px!important}.yusee-tour-category-bg-card{aspect-ratio:1.25/1!important}.yusee-tour-category-bg-card .yusee-tour-title,.yusee-tour-category-bg-card.yusee-tour-title-long .yusee-tour-title{font-size:clamp(24px,7vw,34px)!important}}body:not(.page-id-738) .yusee-tour-wrap:has(.yusee-tour-category-bg-card){width:80%!important;max-width:1524px!important;margin-left:auto!important;margin-right:auto!important;padding:44px 0!important;box-sizing:border-box!important}body:not(.page-id-738) .yusee-tour-grid:has(.yusee-tour-category-bg-card){width:100%!important;max-width:100%!important;margin:0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;justify-items:stretch!important;align-items:stretch!important}body:not(.page-id-738) .yusee-tour-category-bg-card{width:100%!important;max-width:none!important;min-width:0!important}@media(max-width:1200px){body:not(.page-id-738) .yusee-tour-wrap:has(.yusee-tour-category-bg-card){width:92%!important;max-width:92%!important}body:not(.page-id-738) .yusee-tour-grid:has(.yusee-tour-category-bg-card){grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:767px){body:not(.page-id-738) .yusee-tour-wrap:has(.yusee-tour-category-bg-card){width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important;padding:28px 0!important}body:not(.page-id-738) .yusee-tour-grid:has(.yusee-tour-category-bg-card){grid-template-columns:1fr!important}}body:not(.page-id-738) .yusee-tour-wrap:has(.yusee-tour-category-bg-card){position:relative!important;left:50%!important;width:80vw!important;max-width:1524px!important;margin-left:calc(-1 * min(40vw,762px))!important;margin-right:0!important;padding:44px 0!important;box-sizing:border-box!important}body:not(.page-id-738) .yusee-tour-grid:has(.yusee-tour-category-bg-card){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;width:100%!important;max-width:100%!important;margin:0!important;justify-items:stretch!important;align-items:stretch!important}body:not(.page-id-738) .yusee-tour-category-bg-card{width:100%!important;max-width:none!important;min-width:0!important;aspect-ratio:1.22/1!important}.yusee-tour-category-bg-card.yusee-tour-title-long .yusee-tour-title{font-size:clamp(22px,1.55vw,34px)!important}@media(max-width:1200px){body:not(.page-id-738) .yusee-tour-wrap:has(.yusee-tour-category-bg-card){left:50%!important;width:92vw!important;max-width:92vw!important;margin-left:-46vw!important}body:not(.page-id-738) .yusee-tour-grid:has(.yusee-tour-category-bg-card){grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:767px){body:not(.page-id-738) .yusee-tour-wrap:has(.yusee-tour-category-bg-card){left:50%!important;width:calc(100vw - 32px)!important;max-width:calc(100vw - 32px)!important;margin-left:calc(-50vw + 16px)!important;padding:28px 0!important}body:not(.page-id-738) .yusee-tour-grid:has(.yusee-tour-category-bg-card){grid-template-columns:1fr!important;gap:14px!important}}@media(min-width:1201px){body:not(.page-id-738) .yusee-tour-grid:has(.yusee-tour-category-bg-card)>.yusee-tour-category-bg-card:nth-child(3n+1):last-child{grid-column:2!important}body:not(.page-id-738) .yusee-tour-grid:has(.yusee-tour-category-bg-card)>.yusee-tour-category-bg-card:nth-child(3n+1):nth-last-child(2){grid-column:1!important}body:not(.page-id-738) .yusee-tour-grid:has(.yusee-tour-category-bg-card)>.yusee-tour-category-bg-card:nth-child(3n+2):last-child{grid-column:2!important}}.yusee-tour-category-bg-card{transform:translate3d(0,0,0) scale(1)!important;transition:box-shadow .45s cubic-bezier(.2,.8,.2,1),filter .45s cubic-bezier(.2,.8,.2,1)!important;backface-visibility:hidden!important;contain:paint!important}.yusee-tour-category-bg-card:before,.yusee-tour-category-bg-card:after{transition:opacity .45s cubic-bezier(.2,.8,.2,1),background .45s cubic-bezier(.2,.8,.2,1)!important;will-change:opacity!important}.yusee-tour-category-bg-card:hover{transform:translate3d(0,0,0) scale(1)!important;box-shadow:0 26px 58px rgba(15,23,42,.28)!important}.yusee-tour-category-bg-card:hover:before{background:linear-gradient(0deg,rgba(0,0,0,.74) 0%,rgba(0,0,0,.42) 44%,rgba(0,0,0,.08) 100%)!important}.yusee-tour-category-overlay{transform:translate3d(0,0,0)!important;transition:transform .45s cubic-bezier(.2,.8,.2,1)!important;will-change:transform!important}.yusee-tour-category-bg-card:hover .yusee-tour-category-overlay{transform:translate3d(0,-5px,0)!important}@keyframes yuseeCatIn{0%{opacity:0;filter:blur(5px)}60%{opacity:1;filter:blur(0)}100%{opacity:1;filter:blur(0)}}.yusee-tour-category-detail-wrap{position:relative!important;left:50%!important;width:80vw!important;max-width:1524px!important;margin-left:calc(-1 * min(40vw,762px))!important;margin-right:0!important;padding:44px 0 70px!important;box-sizing:border-box!important}.yusee-tour-category-detail-hero{position:relative;min-height:360px;border-radius:28px;overflow:hidden;background-size:cover;background-position:center;background-color:#1f2937;display:flex;align-items:center;justify-content:center;box-shadow:0 18px 48px rgba(15,23,42,.18);animation:yuseeCatIn .72s cubic-bezier(.2,.75,.2,1) forwards}.yusee-tour-category-detail-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.76) 0%,rgba(0,0,0,.48) 42%,rgba(0,0,0,.12) 100%)}.yusee-tour-category-detail-hero-inner{position:relative;z-index:1;text-align:center;color:#fff;padding:38px;display:grid;gap:12px;place-items:center}.yusee-tour-category-detail-hero .yusee-tour-title{font-family:Montserrat,"Work Sans",system-ui,sans-serif!important;margin:0!important;color:#fff!important;text-transform:uppercase!important;font-weight:900!important;letter-spacing:.03em!important;font-size:clamp(38px,5vw,82px)!important;line-height:.96!important;text-shadow:0 4px 18px rgba(0,0,0,.75),0 1px 2px rgba(0,0,0,1)!important;text-wrap:balance}.yusee-tour-category-detail-hero .yusee-tour-desc{max-width:760px;margin:0!important;color:#fff!important;font-size:clamp(15px,1.4vw,21px)!important;font-weight:600!important;line-height:1.45!important;text-shadow:0 3px 14px rgba(0,0,0,.8),0 1px 2px rgba(0,0,0,1)!important;text-wrap:balance}.yusee-tour-back-link{color:#fff!important;text-decoration:none!important;font-weight:800;text-shadow:0 2px 8px rgba(0,0,0,.8);opacity:.92}.yusee-tour-category-detail-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:24px 0 20px;padding:14px 16px;background:#fff;border:1px solid var(--st-line);border-radius:16px;box-shadow:0 1px 3px rgba(15,23,42,.05)}.yusee-tour-category-detail-toolbar strong{display:block;font-size:18px;font-weight:900}.yusee-tour-category-detail-toolbar span{display:block;color:var(--st-muted);font-size:13px}.yusee-tour-category-detail-toolbar .yusee-tour-search{margin:0;display:grid;grid-template-columns:minmax(220px,360px) auto;gap:8px}.yusee-tour-category-detail-toolbar input{height:40px;border:1px solid #d0d5dd;border-radius:10px;padding:8px 11px;font-family:"Work Sans",system-ui,sans-serif}.yusee-tour-package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.yusee-tour-package-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--st-line);border-radius:20px;overflow:hidden;text-decoration:none!important;color:inherit!important;box-shadow:0 8px 24px rgba(15,23,42,.08);opacity:0;animation:yuseeCatIn .72s cubic-bezier(.2,.75,.2,1) forwards;transition:box-shadow .4s cubic-bezier(.2,.8,.2,1),transform .4s cubic-bezier(.2,.8,.2,1)}.yusee-tour-package-card:nth-child(1){animation-delay:.05s}.yusee-tour-package-card:nth-child(2){animation-delay:.13s}.yusee-tour-package-card:nth-child(3){animation-delay:.21s}.yusee-tour-package-card:hover{transform:translate3d(0,-6px,0);box-shadow:0 18px 42px rgba(15,23,42,.16)}.yusee-tour-package-card-img{position:relative;aspect-ratio:1.38/1;background:#eef2f7;overflow:hidden}.yusee-tour-package-card-img:empty:before{content:"No image";position:absolute;inset:0;display:grid;place-items:center;color:#667085;font-weight:900}.yusee-tour-package-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .55s cubic-bezier(.2,.8,.2,1)}.yusee-tour-package-card:hover img{transform:scale(1.055)}.yusee-tour-package-card-body{padding:18px;display:flex;flex-direction:column;gap:10px;flex:1}.yusee-tour-package-card-body h3{margin:0;font-family:Montserrat,"Work Sans",system-ui,sans-serif;font-size:clamp(20px,1.6vw,28px);line-height:1.08;font-weight:900;text-wrap:balance;color:var(--st-text)}.yusee-tour-package-card-body p{margin:0;color:var(--st-muted);font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.yusee-tour-card-cta{margin-top:auto;color:var(--st-primary);font-weight:900}.yusee-tour-package-grid>.yusee-tour-package-card:nth-child(3n+1):last-child{grid-column:2}@media(max-width:1200px){.yusee-tour-category-detail-wrap{left:50%!important;width:92vw!important;max-width:92vw!important;margin-left:-46vw!important}.yusee-tour-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yusee-tour-package-grid>.yusee-tour-package-card:nth-child(3n+1):last-child{grid-column:auto}}@media(max-width:767px){.yusee-tour-category-detail-wrap{left:50%!important;width:calc(100vw - 32px)!important;max-width:calc(100vw - 32px)!important;margin-left:calc(-50vw + 16px)!important;padding:28px 0 44px!important}.yusee-tour-category-detail-hero{min-height:280px;border-radius:22px}.yusee-tour-category-detail-hero-inner{padding:24px}.yusee-tour-category-detail-hero .yusee-tour-title{font-size:clamp(34px,12vw,54px)!important}.yusee-tour-category-detail-toolbar{display:grid;grid-template-columns:1fr}.yusee-tour-category-detail-toolbar .yusee-tour-search{grid-template-columns:1fr}.yusee-tour-package-grid{grid-template-columns:1fr;gap:16px}.yusee-tour-package-grid>.yusee-tour-package-card:nth-child(3n+1):last-child{grid-column:auto}}.yusee-tour-category-back-row{margin:0 0 14px!important}.yusee-tour-category-back-row .yusee-tour-back-link{display:inline-flex!important;align-items:center!important;gap:6px!important;height:36px!important;padding:0 12px!important;border:1px solid #e4e7ec!important;border-radius:999px!important;background:#fff!important;color:#344054!important;text-decoration:none!important;font-size:13px!important;font-weight:700!important;text-shadow:none!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important;transition:background .2s ease,color .2s ease,transform .2s ease!important}.yusee-tour-category-back-row .yusee-tour-back-link:hover{background:#f8fafc!important;color:var(--st-primary)!important;transform:translateX(-2px)!important}.yusee-tour-category-detail-hero{min-height:280px!important;border-radius:22px!important;box-shadow:0 10px 28px rgba(15,23,42,.10)!important}.yusee-tour-category-detail-hero:before{background:linear-gradient(0deg,rgba(0,0,0,.50) 0%,rgba(0,0,0,.22) 52%,rgba(0,0,0,.04) 100%)!important}.yusee-tour-category-detail-hero-inner{gap:8px!important;padding:30px!important}.yusee-tour-category-detail-hero .yusee-tour-title{font-size:clamp(42px,5vw,76px)!important;letter-spacing:.015em!important;text-shadow:0 2px 12px rgba(0,0,0,.45)!important}.yusee-tour-category-detail-hero .yusee-tour-desc{font-size:clamp(15px,1.25vw,20px)!important;font-weight:600!important;max-width:680px!important;text-shadow:0 2px 10px rgba(0,0,0,.45)!important}@media(max-width:767px){.yusee-tour-category-back-row{margin-bottom:10px!important}.yusee-tour-category-detail-hero{min-height:230px!important;border-radius:18px!important}.yusee-tour-category-detail-hero-inner{padding:22px!important}.yusee-tour-category-detail-hero .yusee-tour-title{font-size:clamp(36px,12vw,54px)!important}}.yusee-tour-package-card-body .yusee-tour-chip{display:none!important}.yusee-tour-start-price{display:grid;gap:1px;margin:0 0 2px}.yusee-tour-start-price span{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#667085}.yusee-tour-start-price strong{font-size:18px;line-height:1.1;font-weight:900;color:var(--st-primary)}.yusee-tour-card-cta{display:inline-flex!important;align-items:center!important;width:max-content!important;margin-top:auto!important;padding:0!important;border-bottom:1px solid currentColor!important;color:var(--st-primary)!important;background:transparent!important;font-size:13px!important;font-weight:700!important;line-height:1.25!important;opacity:.82!important;transition:opacity .2s ease,transform .2s ease!important}.yusee-tour-card-cta:after{content:"→";margin-left:5px;transition:transform .2s ease}.yusee-tour-package-card:hover .yusee-tour-card-cta{opacity:1!important;transform:translateX(1px)}.yusee-tour-package-card:hover .yusee-tour-card-cta:after{transform:translateX(3px)}.yusee-tour-price-fields{display:grid;grid-template-columns:90px 1fr 1.4fr;gap:10px;align-items:start}.yusee-tour-price-fields select,.yusee-tour-price-fields input{min-height:42px!important}@media(max-width:767px){.yusee-tour-price-fields{grid-template-columns:1fr}}.yusee-tour-product-wrap{position:relative!important;left:50%!important;width:80vw!important;max-width:1524px!important;margin-left:calc(-1 * min(40vw,762px))!important;padding:44px 0 80px!important}.yusee-tour-product-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:28px;align-items:stretch;margin-bottom:28px}.yusee-tour-product-gallery{border-radius:28px;overflow:hidden;background:#eef2f7;min-height:520px;box-shadow:0 18px 46px rgba(15,23,42,.14)}.yusee-tour-product-gallery img{width:100%;height:100%;object-fit:cover;display:block}.yusee-tour-product-head{border:1px solid var(--st-line);border-radius:28px;background:#fff;padding:34px;display:flex;flex-direction:column;justify-content:center;gap:18px;box-shadow:0 10px 28px rgba(15,23,42,.08)}.yusee-tour-product-kicker{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--st-primary)}.yusee-tour-product-head h1{margin:0;font-family:Montserrat,"Work Sans",system-ui,sans-serif;font-size:clamp(36px,4vw,68px);line-height:.98;font-weight:900;text-wrap:balance;color:var(--st-text)}.yusee-tour-product-price{display:grid;gap:3px}.yusee-tour-product-price span,.yusee-tour-book-card span{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#667085}.yusee-tour-product-price strong,.yusee-tour-book-card strong{font-size:30px;line-height:1;font-weight:900;color:var(--st-primary)}.yusee-tour-product-actions{display:flex;gap:10px;flex-wrap:wrap}.yusee-tour-product-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}.yusee-tour-product-main{display:grid;gap:18px}.yusee-tour-product-block{background:#fff;border:1px solid var(--st-line);border-radius:22px;padding:24px;box-shadow:0 4px 18px rgba(15,23,42,.05)}.yusee-tour-product-block.is-legal{padding:20px;background:#fcfcfd}.yusee-tour-product-block-head{display:grid;gap:4px;margin-bottom:14px}.yusee-tour-product-block-head span{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--st-primary)}.yusee-tour-product-block-head h2{margin:0;font-family:Montserrat,"Work Sans",system-ui,sans-serif;font-size:clamp(24px,2vw,34px);line-height:1.05;font-weight:900;color:var(--st-text)}.yusee-tour-product-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.yusee-tour-product-list li{display:grid;grid-template-columns:24px 1fr;gap:10px;align-items:start}.yusee-tour-product-list li>span{width:24px;height:24px;border-radius:999px;background:#eef6ff;color:var(--st-primary);display:grid;place-items:center;font-weight:900}.yusee-tour-product-text p{margin:0 0 10px;color:var(--st-muted);line-height:1.65}.yusee-tour-product-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.yusee-tour-product-option{position:relative;border:1px solid var(--st-line);border-radius:18px;padding:18px;background:#fff;display:grid;gap:8px}.yusee-tour-product-option.is-lowest{border-color:var(--st-primary);box-shadow:0 0 0 3px rgba(0,97,148,.08)}.yusee-tour-option-tag{position:absolute;right:12px;top:12px;font-size:10px;font-weight:900;text-transform:uppercase;color:var(--st-primary);background:#eaf6ff;border-radius:999px;padding:5px 8px}.yusee-tour-product-option h3{margin:0;font-size:18px;font-weight:900}.yusee-tour-option-price{font-size:20px;color:var(--st-primary)}.yusee-tour-product-option ul{margin:0;padding-left:18px;color:var(--st-muted);line-height:1.5}.yusee-tour-product-sidebar{position:sticky;top:92px}.yusee-tour-book-card{display:grid;gap:12px;background:#fff;border:1px solid var(--st-line);border-radius:22px;padding:22px;box-shadow:0 14px 36px rgba(15,23,42,.10)}.yusee-tour-book-card p{margin:0;color:var(--st-muted)}.yusee-tour-book-card .yusee-tour-btn{width:100%}.yusee-tour-mobile-book{display:none}.yusee-tour-product-block{animation:yuseeCatIn .6s cubic-bezier(.2,.75,.2,1) both}@media(max-width:1200px){.yusee-tour-product-wrap{left:50%!important;width:92vw!important;max-width:92vw!important;margin-left:-46vw!important}.yusee-tour-product-hero,.yusee-tour-product-layout{grid-template-columns:1fr}.yusee-tour-product-sidebar{display:none}.yusee-tour-product-gallery{min-height:420px}}@media(max-width:767px){.yusee-tour-product-wrap{left:50%!important;width:calc(100vw - 32px)!important;max-width:calc(100vw - 32px)!important;margin-left:calc(-50vw + 16px)!important;padding:28px 0 96px!important}.yusee-tour-product-hero{gap:14px}.yusee-tour-product-gallery{min-height:260px;border-radius:22px}.yusee-tour-product-head{padding:22px;border-radius:22px}.yusee-tour-product-head h1{font-size:clamp(32px,10vw,48px)}.yusee-tour-product-block{padding:18px;border-radius:18px}.yusee-tour-product-options{grid-template-columns:1fr}.yusee-tour-mobile-book{position:fixed;left:12px;right:12px;bottom:12px;z-index:9999;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:#fff;border:1px solid var(--st-line);border-radius:18px;box-shadow:0 12px 34px rgba(15,23,42,.18)}.yusee-tour-mobile-book strong{font-size:16px;color:var(--st-primary)}.yusee-tour-mobile-book .yusee-tour-btn{padding:9px 12px}}.yusee-tour-product-gallery{position:relative!important;display:block!important}.yusee-tour-product-main-img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.yusee-tour-product-thumbs{position:absolute;left:18px;right:18px;bottom:18px;display:flex;gap:10px;z-index:2}.yusee-tour-product-thumbs button{width:74px;height:58px;padding:0;border:2px solid rgba(255,255,255,.72);border-radius:12px;overflow:hidden;background:#fff;cursor:pointer;opacity:.78;transition:opacity .2s ease,transform .2s ease,border-color .2s ease}.yusee-tour-product-thumbs button.active,.yusee-tour-product-thumbs button:hover{opacity:1;transform:translateY(-2px);border-color:#fff}.yusee-tour-product-thumbs img{width:100%;height:100%;object-fit:cover;display:block}.yusee-tour-product-gallery:after{content:"";position:absolute;left:0;right:0;bottom:0;height:120px;background:linear-gradient(0deg,rgba(0,0,0,.44),transparent);pointer-events:none}@media(max-width:767px){.yusee-tour-product-thumbs{left:10px;right:10px;bottom:10px;gap:7px;overflow:auto}.yusee-tour-product-thumbs button{flex:0 0 58px;width:58px;height:46px;border-radius:9px}}.yusee-tour-product-nav{position:sticky;top:32px;z-index:5;display:flex;gap:8px;overflow:auto;margin:0 0 22px;padding:10px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border:1px solid var(--st-line);border-radius:999px;box-shadow:0 8px 24px rgba(15,23,42,.06)}.yusee-tour-product-nav a{flex:0 0 auto;text-decoration:none;color:#344054;font-size:13px;font-weight:800;padding:8px 12px;border-radius:999px}.yusee-tour-product-nav a:hover{background:#eef6ff;color:var(--st-primary)}.yusee-tour-product-block-head{grid-template-columns:1fr auto;align-items:start}.yusee-tour-product-block-head span,.yusee-tour-product-block-head h2{grid-column:1}.yusee-tour-product-block-head button{grid-column:2;grid-row:1/3;border:1px solid var(--st-line2);background:#fff;border-radius:999px;padding:7px 11px;font-weight:800;color:#344054;cursor:pointer}.yusee-tour-product-block.is-legal.is-collapsed .yusee-tour-product-text,.yusee-tour-product-block.is-legal.is-collapsed .yusee-tour-product-list{max-height:118px;overflow:hidden;position:relative}.yusee-tour-product-block.is-legal.is-collapsed .yusee-tour-product-text:after,.yusee-tour-product-block.is-legal.is-collapsed .yusee-tour-product-list:after{content:"";position:absolute;left:0;right:0;bottom:0;height:56px;background:linear-gradient(180deg,rgba(252,252,253,0),#fcfcfd)}.yusee-tour-book-facts{display:grid;gap:7px;margin:2px 0 4px}.yusee-tour-book-facts span{font-size:12px;color:#475467;background:#f8fafc;border:1px solid #eef2f7;border-radius:10px;padding:8px 9px;text-transform:none;letter-spacing:0}.yusee-tour-product-hero{animation:yuseeCatIn .65s cubic-bezier(.2,.75,.2,1) both}.yusee-tour-product-gallery,.yusee-tour-product-head{transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s cubic-bezier(.2,.8,.2,1)}.yusee-tour-product-hero:hover .yusee-tour-product-gallery{transform:translateY(-2px);box-shadow:0 22px 54px rgba(15,23,42,.18)}@media(max-width:767px){.yusee-tour-product-nav{top:0;border-radius:16px;margin-bottom:16px}.yusee-tour-product-nav a{font-size:12px;padding:7px 10px}.yusee-tour-product-block-head{grid-template-columns:1fr}.yusee-tour-product-block-head button{grid-column:1;grid-row:auto;width:max-content}}.yusee-tour-product-hero{grid-template-columns:minmax(0,1fr) 420px!important;gap:24px!important;align-items:start!important;margin-bottom:22px!important}.yusee-tour-product-gallery{min-height:0!important;aspect-ratio:4/3!important;border-radius:18px!important;background:#fff!important;border:1px solid var(--st-line)!important;padding:10px!important;box-shadow:0 8px 24px rgba(15,23,42,.08)!important;overflow:hidden!important}.yusee-tour-product-gallery:after{display:none!important}.yusee-tour-product-main-img{border-radius:14px!important;height:calc(100% - 78px)!important;min-height:0!important}.yusee-tour-product-thumbs{position:static!important;margin-top:10px!important;display:flex!important;gap:8px!important;overflow:auto!important}.yusee-tour-product-thumbs button{flex:0 0 68px!important;width:68px!important;height:54px!important;border:2px solid #e4e7ec!important;border-radius:10px!important;opacity:1!important;background:#fff!important}.yusee-tour-product-thumbs button.active{border-color:var(--st-primary)!important;box-shadow:0 0 0 3px rgba(0,97,148,.10)!important}.yusee-tour-product-head{border-radius:18px!important;padding:24px!important;gap:14px!important;position:sticky!important;top:84px!important}.yusee-tour-product-head h1{font-size:clamp(30px,2.7vw,46px)!important;line-height:1.04!important}.yusee-tour-product-price{padding:14px 0!important;border-top:1px solid #eef2f7!important;border-bottom:1px solid #eef2f7!important}.yusee-tour-product-price strong{font-size:28px!important}.yusee-tour-product-actions .yusee-tour-btn{flex:1 1 160px!important;min-height:44px!important}.yusee-tour-product-nav{margin-bottom:18px!important}.yusee-tour-product-layout{grid-template-columns:1fr!important}.yusee-tour-product-sidebar{display:none!important}.yusee-tour-product-main{max-width:100%!important}.yusee-tour-product-block{border-radius:18px!important;padding:20px!important;box-shadow:0 2px 10px rgba(15,23,42,.04)!important}.yusee-tour-product-block-head h2{font-size:clamp(22px,1.6vw,28px)!important}.yusee-tour-product-options{grid-template-columns:1fr!important;gap:10px!important}.yusee-tour-product-option{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px 16px!important;align-items:center!important;border-radius:14px!important;padding:16px!important;cursor:pointer!important;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease!important}.yusee-tour-product-option:hover,.yusee-tour-product-option.is-selected{border-color:var(--st-primary)!important;box-shadow:0 0 0 3px rgba(0,97,148,.08)!important;transform:translateY(-1px)!important}.yusee-tour-product-option h3{grid-column:1!important;font-size:17px!important}.yusee-tour-option-price{grid-column:2!important;grid-row:1!important;font-size:18px!important;white-space:nowrap!important}.yusee-tour-option-tag{position:static!important;grid-column:1!important;width:max-content!important;grid-row:2!important}.yusee-tour-product-option ul{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:4px 16px!important;font-size:13px!important}.yusee-tour-product-option.is-lowest{background:#fbfdff!important}.yusee-tour-product-block#options{background:#fff!important}.yusee-tour-book-card{display:none!important}.yusee-tour-selected-option{font-size:13px;color:#475467;font-weight:700}.yusee-tour-selected-option strong{color:var(--st-primary)}@media(max-width:1200px){.yusee-tour-product-hero{grid-template-columns:1fr!important}.yusee-tour-product-head{position:static!important}.yusee-tour-product-gallery{aspect-ratio:4/3!important}.yusee-tour-product-main-img{height:calc(100% - 72px)!important}}@media(max-width:767px){.yusee-tour-product-hero{gap:12px!important}.yusee-tour-product-gallery{border-radius:16px!important;padding:8px!important}.yusee-tour-product-head{padding:18px!important;border-radius:16px!important}.yusee-tour-product-head h1{font-size:clamp(28px,8vw,38px)!important}.yusee-tour-product-option{grid-template-columns:1fr!important}.yusee-tour-option-price{grid-column:1!important;grid-row:auto!important}.yusee-tour-product-option ul{grid-template-columns:1fr!important}}.yusee-tour-product-block{background:#fff!important;border-color:#e9edf3!important}.yusee-tour-product-block.is-legal{background:#fafbfc!important}.yusee-tour-product-main{gap:14px!important}.yusee-tour-product-block-head{margin-bottom:10px!important}.yusee-tour-product-text p{font-size:15px!important;color:#344054!important}.yusee-tour-product-list{gap:8px!important}.yusee-tour-product-list li{font-size:15px!important;color:#344054!important}.yusee-tour-product-block:nth-of-type(n+5):not(#options){padding:18px!important}.yusee-tour-product-block:nth-of-type(n+5):not(#options) .yusee-tour-product-block-head h2{font-size:22px!important}.yusee-tour-product-block.is-legal.is-collapsed{padding-bottom:16px!important}.yusee-tour-product-head{box-shadow:0 8px 22px rgba(15,23,42,.07)!important}.yusee-tour-product-gallery{box-shadow:0 8px 22px rgba(15,23,42,.07)!important}.yusee-tour-product-nav{box-shadow:0 6px 18px rgba(15,23,42,.05)!important}.yusee-tour-product-option ul{margin-top:2px!important}.yusee-tour-product-option li{padding-right:8px}.yusee-tour-mobile-book{backdrop-filter:blur(10px)}@media(max-width:767px){.yusee-tour-product-block:nth-of-type(n+5):not(#options) .yusee-tour-product-block-head h2{font-size:20px!important}.yusee-tour-product-text p,.yusee-tour-product-list li{font-size:14px!important}.yusee-tour-product-nav{scrollbar-width:none}.yusee-tour-product-nav::-webkit-scrollbar{display:none}}.yusee-tour-option-tag{display:none!important}.yusee-tour-product-option.is-lowest{border-color:var(--st-line)!important;box-shadow:none!important;background:#fff!important}.yusee-tour-product-option.is-selected{border-color:var(--st-primary)!important;box-shadow:0 0 0 3px rgba(0,97,148,.08)!important;background:#fff!important}.yusee-tour-product-option.is-lowest{border-color:var(--st-line)!important;box-shadow:none!important;background:#fff!important}.yusee-tour-option-tag{display:none!important}.yusee-tour-selected-option{display:none!important}.yusee-tour-product-block-head span,.yusee-tour-product-block-head button,[data-yusee-toggle-block]{display:none!important}.yusee-tour-product-head h1{font-size:clamp(28px,2.35vw,42px)!important;line-height:1.08!important}.yusee-tour-product-block-head h2{font-size:clamp(19px,1.35vw,24px)!important;line-height:1.18!important}.yusee-tour-product-block:nth-of-type(n+5):not(#options) .yusee-tour-product-block-head h2{font-size:20px!important}.yusee-tour-product-block.is-legal .yusee-tour-product-text,.yusee-tour-product-block.is-legal .yusee-tour-product-list{max-height:none!important;overflow:visible!important}.yusee-tour-product-block.is-legal .yusee-tour-product-text:after,.yusee-tour-product-block.is-legal .yusee-tour-product-list:after{display:none!important}.yusee-tour-product-block-head{display:block!important;margin-bottom:12px!important}@media(max-width:767px){.yusee-tour-product-head h1{font-size:clamp(26px,7vw,34px)!important}.yusee-tour-product-block-head h2,.yusee-tour-product-block:nth-of-type(n+5):not(#options) .yusee-tour-product-block-head h2{font-size:19px!important}}.yusee-tour-product-head{border:1px solid #d9e5ee!important;background:linear-gradient(180deg,#fff,#fbfdff)!important}.yusee-tour-product-head:before{content:"";display:none!important;display:inline-flex;width:max-content;padding:6px 10px;border-radius:999px;background:#eaf6ff;color:var(--st-primary);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.yusee-tour-product-price{background:#fff;border:1px solid #eef2f7!important;border-radius:14px!important;padding:14px!important}.yusee-tour-continue-booking{background:#16a34a!important;border-color:#16a34a!important;color:#fff!important;width:100%!important;min-height:48px!important;font-size:15px!important}.yusee-tour-continue-booking:hover{filter:brightness(.96)!important}.yusee-tour-product-option{position:relative!important;padding-left:48px!important}.yusee-tour-product-option:before{content:"";position:absolute;left:16px;top:19px;width:18px;height:18px;border:2px solid #cbd5e1;border-radius:999px;background:#fff}.yusee-tour-product-option.is-selected:before{border-color:var(--st-primary);box-shadow:inset 0 0 0 4px #fff;background:var(--st-primary)}.yusee-tour-product-block#options .yusee-tour-product-block-head:after{content:"Select one option, then continue booking via WhatsApp.";display:block;color:#667085;font-size:13px;margin-top:4px}.yusee-tour-mobile-book .yusee-tour-continue-booking{width:auto!important;min-height:40px!important}.yusee-tour-rich-content{display:grid;gap:10px;color:#344054;line-height:1.65}.yusee-tour-rich-content h3{margin:14px 0 2px;font-size:18px;line-height:1.25;font-weight:900;color:#05364a}.yusee-tour-rich-content h3:first-child{margin-top:0}.yusee-tour-rich-content p{margin:0}.yusee-tour-rich-content ul{margin:0 0 4px 18px;padding:0;display:grid;gap:8px}.yusee-tour-rich-content li{padding-left:2px}.yusee-tour-form [data-yusee-icon-block][style*="display: none"]{margin-bottom:0!important}.yusee-tour-form select[name="section_mode[]"],.yusee-tour-form select[name="section_mode[]"]+*,.yusee-tour-form [data-yusee-section-mode],.yusee-tour-form [data-yusee-section-mode] option,.yusee-tour-form [data-yusee-icon-block]{display:none!important}.yusee-tour-form [data-yusee-section-mode]{visibility:hidden!important;height:0!important;min-height:0!important;padding:0!important;border:0!important}.yusee-tour-form [data-yusee-section-mode]{display:none!important}.yusee-tour-form .row .block:has([data-yusee-section-mode]){display:none!important}.yusee-tour-form .row{grid-template-columns:1fr!important}.yusee-tour-form textarea[name="section_items[]"]{min-height:180px!important}.yusee-tour-rich-tools{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 8px}.yusee-tour-rich-tools button{border:1px solid #d0d5dd;background:#fff;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:800;cursor:pointer}.yusee-tour-rich-tools button:hover{background:#f8fafc}.yusee-tour-gallery-field{display:grid;gap:10px}.yusee-tour-gallery-actions{display:flex;gap:8px;flex-wrap:wrap}.yusee-tour-gallery-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:8px}.yusee-tour-gallery-preview img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;border:1px solid #e4e7ec;background:#eef2f7}.yusee-tour-gallery-field textarea{min-height:88px!important}.yusee-tour-gallery-preview{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))!important}.yusee-tour-gallery-preview img{cursor:grab;transition:.15s}.yusee-tour-gallery-preview img:active,.yusee-tour-gallery-preview img.is-dragging{cursor:grabbing;opacity:.55;transform:scale(.96)}.yusee-tour-gallery-preview img:first-child{outline:3px solid rgba(22,163,74,.35);outline-offset:2px}.yusee-tour-gallery-preview:before{content:"Cover = first image";grid-column:1/-1;font-size:12px;font-weight:800;color:#16a34a;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:999px;padding:6px 10px;width:max-content}.yusee-tour-form-section .block:has([name="image"]){display:none!important}.yusee-tour-option-rich{font-size:13px;line-height:1.55}.yusee-tour-option-rich h3{font-size:14px;margin-top:8px}.yusee-tour-option-rich ul{gap:5px;margin-left:16px}.yusee-tour-form .yusee-tour-small:empty,.yusee-tour-section-head p:empty,.yusee-tour-modal-head .yusee-tour-small:empty{display:none!important}.yusee-tour-section-head p,.yusee-tour-gallery-field .yusee-tour-small{display:none!important}.yusee-tour-form-section:has([data-yusee-repeat-wrap="buttons"]){display:none!important}.yusee-tour-product-option .yusee-tour-option-rich{margin-top:4px;display:grid;gap:6px;grid-column:1/-1}.yusee-tour-product-option .yusee-tour-option-rich h3{font-size:13px!important;margin:2px 0 0!important;color:#344054!important}.yusee-tour-product-option .yusee-tour-option-rich ul{display:grid!important;grid-template-columns:1fr!important;margin:0 0 0 18px!important;padding:0!important;gap:4px!important}.yusee-tour-product-option .yusee-tour-option-rich li{font-size:13px!important;color:#475467!important;line-height:1.45!important}.yusee-tour-product-option .yusee-tour-option-rich p{font-size:13px!important;color:#475467!important;margin:0!important}.yusee-tour-product-option>ul{grid-column:1/-1} /* final restrained public UI */ .yusee-tour-wrap{--st-text:#181C20!important;--st-muted:#4b5158!important;--st-primary:#181C20!important;--st-primary2:#2f3338!important;--st-line:#e3e5e8!important;--st-line2:#cfd3d8!important;--st-bg:#f7f7f5!important;--st-card:#fff!important} body:not(.page-id-738) .yusee-tour-wrap,body:not(.page-id-738) .yusee-tour-wrap *{color:var(--st-text)} body:not(.page-id-738) .yusee-tour-wrap strong,body:not(.page-id-738) .yusee-tour-wrap b{font-weight:650!important} body:not(.page-id-738) .yusee-tour-wrap h1,body:not(.page-id-738) .yusee-tour-wrap h2,body:not(.page-id-738) .yusee-tour-wrap h3{font-weight:700!important} body:not(.page-id-738) .yusee-tour-btn,body:not(.page-id-738) .yusee-tour-wrap a.yusee-tour-btn,body:not(.page-id-738) .yusee-tour-wrap button.yusee-tour-btn{background:#181C20!important;border-color:#181C20!important;color:#fff!important;border-radius:10px!important;font-weight:650!important;box-shadow:none!important;transition:background .2s ease,border-color .2s ease,color .2s ease,opacity .2s ease!important} body:not(.page-id-738) .yusee-tour-btn:hover{background:#2b2f34!important;border-color:#2b2f34!important;box-shadow:none!important;transform:none!important} body:not(.page-id-738) .yusee-tour-card-cta{color:#5f666d!important;border:1px solid #d8dadd!important;border-radius:999px!important;padding:7px 11px!important;background:#f7f7f5!important;font-weight:500!important;font-size:12px!important;opacity:1!important;transform:none!important;text-decoration:none!important} body:not(.page-id-738) .yusee-tour-card-cta:after{content:""!important;margin:0!important} body:not(.page-id-738) .yusee-tour-package-card:hover .yusee-tour-card-cta{transform:none!important;background:#eeeeeb!important;color:#181C20!important} body:not(.page-id-738) .yusee-tour-package-card,body:not(.page-id-738) .yusee-tour-category-bg-card,body:not(.page-id-738) .yusee-tour-product-block{animation:yuseeSoftIn .36s ease-out both!important;transition:box-shadow .24s ease,opacity .24s ease,filter .24s ease!important;transform:none!important} body:not(.page-id-738) .yusee-tour-package-card:hover,body:not(.page-id-738) .yusee-tour-category-bg-card:hover,body:not(.page-id-738) .yusee-tour-product-hero:hover .yusee-tour-product-gallery{transform:none!important;box-shadow:0 12px 30px rgba(24,28,32,.10)!important} body:not(.page-id-738) .yusee-tour-package-card:hover img{transform:scale(1.018)!important} body:not(.page-id-738) .yusee-tour-category-bg-card:hover .yusee-tour-category-overlay{transform:none!important} /* bottom booking summary balanced layout */ body:not(.page-id-738) .yusee-tour-product-bottom-cta{max-width:none!important;width:100%!important;box-sizing:border-box!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;column-gap:26px!important;row-gap:16px!important} body:not(.page-id-738) .yusee-tour-product-bottom-cta>.yusee-tour-product-kicker, body:not(.page-id-738) .yusee-tour-product-bottom-cta>h2{grid-column:1/-1!important} body:not(.page-id-738) .yusee-tour-product-bottom-cta>.yusee-tour-product-price{grid-column:1!important;width:100%!important;max-width:none!important;margin:0!important} body:not(.page-id-738) .yusee-tour-product-bottom-cta>.yusee-tour-summary-options{grid-column:2!important;grid-row:3/span 2!important;margin:0!important;width:100%!important} body:not(.page-id-738) .yusee-tour-product-bottom-cta>.yusee-tour-product-actions{grid-column:1!important;width:100%!important;margin:0!important;align-self:end!important} body:not(.page-id-738) .yusee-tour-product-bottom-cta .yusee-tour-product-options{width:100%!important} @media(max-width:900px){body:not(.page-id-738) .yusee-tour-product-bottom-cta{grid-template-columns:1fr!important}body:not(.page-id-738) .yusee-tour-product-bottom-cta>.yusee-tour-product-price,body:not(.page-id-738) .yusee-tour-product-bottom-cta>.yusee-tour-summary-options,body:not(.page-id-738) .yusee-tour-product-bottom-cta>.yusee-tour-product-actions{grid-column:1!important;grid-row:auto!important}} /* bottom booking summary same as top */ body:not(.page-id-738) .yusee-tour-product-bottom-cta{display:grid!important;gap:18px!important;padding:24px!important;border:1px solid #dbe4ee!important;border-radius:16px!important;background:#fff!important;box-shadow:0 16px 36px rgba(24,28,32,.06)!important} body:not(.page-id-738) .yusee-tour-product-bottom-cta .yusee-tour-summary-options .yusee-tour-product-options{max-height:460px!important;overflow:auto!important} /* larger package detail booking CTA */ body:not(.page-id-738) .yusee-tour-product-head .yusee-tour-continue-booking, body:not(.page-id-738) .yusee-tour-book-card .yusee-tour-continue-booking, body:not(.page-id-738) .yusee-tour-product-bottom-cta .yusee-tour-continue-booking{min-height:54px!important;padding:16px 24px!important;font-size:16px!important;border-radius:14px!important;width:100%!important;letter-spacing:.01em!important} body:not(.page-id-738) .yusee-tour-product-head .yusee-tour-product-actions, body:not(.page-id-738) .yusee-tour-book-card .yusee-tour-product-actions, body:not(.page-id-738) .yusee-tour-product-bottom-cta .yusee-tour-product-actions{gap:12px!important} body:not(.page-id-738) .yusee-tour-product-head .yusee-tour-custom-booking, body:not(.page-id-738) .yusee-tour-book-card .yusee-tour-custom-booking, body:not(.page-id-738) .yusee-tour-product-bottom-cta .yusee-tour-custom-booking{min-height:50px!important;padding:14px 22px!important;font-size:15px!important;border-radius:14px!important;width:100%!important} /* options inside booking summary */ body:not(.page-id-738) .yusee-tour-summary-options{display:grid!important;gap:10px!important;margin:2px 0 4px!important} body:not(.page-id-738) .yusee-tour-summary-options-head h2{margin:0!important;font-size:22px!important;line-height:1.15!important;font-weight:800!important;color:#181C20!important} body:not(.page-id-738) .yusee-tour-summary-options-head p{margin:3px 0 0!important;font-size:12px!important;color:#667085!important;line-height:1.35!important} body:not(.page-id-738) .yusee-tour-summary-options .yusee-tour-product-options{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;max-height:460px!important;overflow:auto!important;padding-right:2px!important} body:not(.page-id-738) .yusee-tour-summary-options .yusee-tour-product-option{padding:12px 12px 12px 40px!important;border-radius:12px!important;gap:4px 10px!important;grid-template-columns:minmax(0,1fr) auto!important} body:not(.page-id-738) .yusee-tour-summary-options .yusee-tour-product-option:before{left:13px!important;top:14px!important;width:14px!important;height:14px!important} body:not(.page-id-738) .yusee-tour-summary-options .yusee-tour-product-option h3{font-size:14px!important;line-height:1.2!important} body:not(.page-id-738) .yusee-tour-summary-options .yusee-tour-option-price{font-size:13px!important;line-height:1.2!important;white-space:nowrap!important} body:not(.page-id-738) .yusee-tour-summary-options .yusee-tour-option-rich,body:not(.page-id-738) .yusee-tour-summary-options .yusee-tour-option-rich *{font-size:11px!important;line-height:1.35!important} body:not(.page-id-738) .yusee-tour-option-media{grid-column:1/-1!important;margin:2px 0 4px!important} body:not(.page-id-738) .yusee-tour-option-media img{display:block!important;width:100%!important;height:160px!important;object-fit:cover!important;border-radius:12px!important} body:not(.page-id-738) .yusee-tour-product-block#options{display:none!important} /* package hero 50/50 gallery + booking summary */ body:not(.page-id-738) .yusee-tour-product-hero{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:20px!important;align-items:stretch!important} body:not(.page-id-738) .yusee-tour-product-gallery,body:not(.page-id-738) .yusee-tour-product-head{width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;align-self:stretch!important} body:not(.page-id-738) .yusee-tour-product-head{position:static!important;top:auto!important;justify-content:flex-start!important} body:not(.page-id-738) .yusee-tour-product-gallery{aspect-ratio:4/3!important} @media(max-width:900px){body:not(.page-id-738) .yusee-tour-product-hero{grid-template-columns:1fr!important}} @keyframes yuseeSoftIn{from{opacity:0;filter:blur(2px)}to{opacity:1;filter:none}} body:not(.page-id-738) .yusee-tour-product-head:before{display:none!important;content:""!important} body:not(.page-id-738) .yusee-tour-product-kicker,body:not(.page-id-738) .yusee-tour-option-price,body:not(.page-id-738) .yusee-tour-product-price strong,body:not(.page-id-738) .yusee-tour-mobile-book strong,body:not(.page-id-738) .yusee-tour-start-price strong{color:#181C20!important;font-weight:650!important} body:not(.page-id-738) .yusee-tour-product-option.is-selected{border-color:#181C20!important;box-shadow:0 0 0 2px rgba(24,28,32,.08)!important} body:not(.page-id-738) .yusee-tour-product-option.is-selected:before{border-color:#181C20!important;background:#181C20!important} body:not(.page-id-738) .yusee-tour-continue-booking{background:#181C20!important;border-color:#181C20!important;color:#fff!important;font-weight:650!important} body:not(.page-id-738) .yusee-tour-rich-content h3{color:#181C20!important;font-weight:650!important} .yusee-tour-pagination{display:flex;justify-content:center;gap:8px;margin:24px 0 0;flex-wrap:wrap}.yusee-tour-pagination a{min-width:38px;height:38px;display:grid;place-items:center;border:1px solid #d8dadd;border-radius:999px;background:#fff;color:#4b5158!important;text-decoration:none!important;font-weight:500}.yusee-tour-pagination a.active,.yusee-tour-pagination a:hover{background:#181C20!important;border-color:#181C20!important;color:#fff!important} /* admin rich editor polish */ .yusee-tour-modal .yusee-tour-rich-tools{display:flex!important;align-items:center!important;gap:6px!important;margin:0 0 8px!important;padding:0!important;background:transparent!important;border:0!important} .yusee-tour-modal .yusee-tour-rich-tools button{height:30px!important;min-height:30px!important;padding:0 10px!important;border:1px solid #d7dce2!important;border-radius:8px!important;background:#fff!important;color:#3f4850!important;font-size:11px!important;font-weight:650!important;letter-spacing:0!important;text-transform:none!important;box-shadow:none!important;line-height:1!important} .yusee-tour-modal .yusee-tour-rich-tools button:hover{background:#f6f7f8!important;border-color:#bfc7d2!important;color:#181C20!important;transform:none!important;filter:none!important} .yusee-tour-modal .yusee-tour-rich-tools button:focus{outline:2px solid rgba(24,28,32,.12)!important;outline-offset:2px!important} .yusee-tour-modal textarea[data-yusee-rich-editor]{margin-top:0!important;border-radius:10px!important;min-height:160px!important;font-size:14px!important;line-height:1.55!important} .yusee-tour-modal label+ .yusee-tour-rich-tools{margin-top:2px!important} .yusee-tour-modal .yusee-tour-repeat-card .block:has([data-yusee-rich-editor]){margin-top:4px!important} .yusee-tour-modal .yusee-tour-repeat-card{border-color:#e5e7eb!important;background:#fff!important;box-shadow:none!important} .yusee-tour-modal .yusee-tour-repeat-card>.yusee-tour-section-head{background:#fafafa!important;border-bottom:1px solid #e5e7eb!important} /* dashboard-admin password gate */ body.page-id-738 .yusee-tour-auth-shell{min-height:calc(100vh - 64px)!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:40px 18px!important} body.page-id-738 .yusee-tour-auth-card{width:min(100%,540px)!important;padding:32px!important;border:1px solid #e4e7ec!important;border-radius:24px!important;background:#fff!important;box-shadow:0 24px 60px rgba(15,23,42,.10)!important} body.page-id-738 .yusee-tour-auth-card h3{margin:0 0 10px!important;font-size:28px!important;line-height:1.08!important;font-weight:800!important;color:#181C20!important} body.page-id-738 .yusee-tour-auth-card p{margin:0 0 18px!important;font-size:14px!important;line-height:1.6!important;color:#667085!important} body.page-id-738 .yusee-tour-auth-form .block{margin:0!important} body.page-id-738 .yusee-tour-auth-form label{display:block!important;margin:0 0 8px!important;font-size:13px!important;line-height:1.4!important;font-weight:700!important;color:#344054!important} body.page-id-738 .yusee-tour-auth-form input[type="password"]{width:100%!important;min-height:54px!important;padding:14px 16px!important;border:1px solid #d0d5dd!important;border-radius:14px!important;background:#fff!important;color:#181C20!important;font-size:16px!important;line-height:1.4!important;box-shadow:none!important} body.page-id-738 .yusee-tour-auth-form input[type="password"]:focus{outline:none!important;border-color:#181C20!important;box-shadow:0 0 0 4px rgba(24,28,32,.08)!important} body.page-id-738 .yusee-tour-auth-actions{margin-top:16px!important} body.page-id-738 .yusee-tour-auth-actions .yusee-tour-btn{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:52px!important;padding:14px 18px!important;border:1px solid #181C20!important;border-radius:14px!important;background:#181C20!important;color:#fff!important;font-size:15px!important;line-height:1.2!important;font-weight:700!important;box-shadow:none!important;text-align:center!important} body.page-id-738 .yusee-tour-auth-actions .yusee-tour-btn:hover{background:#2b2f34!important;border-color:#2b2f34!important;color:#fff!important} body.page-id-738 .yusee-tour-auth-card .yusee-tour-note{margin:0 0 14px!important;padding:12px 14px!important;border-radius:14px!important;font-size:13px!important;line-height:1.5!important} @media(max-width:767px){body.page-id-738 .yusee-tour-auth-shell{min-height:auto!important;padding:24px 14px 36px!important}body.page-id-738 .yusee-tour-auth-card{padding:24px!important;border-radius:20px!important}body.page-id-738 .yusee-tour-auth-card h3{font-size:24px!important}} /* categories admin cleanup */ body.page-id-738 .yusee-tour-brand .yusee-tour-logo,body.page-id-738 .yusee-tour-brand span{display:none!important} body.page-id-738 .yusee-tour-brand{padding-left:14px!important;margin-bottom:8px!important} body.page-id-738 .yusee-tour-brand strong{font-size:18px!important} body.page-id-738 .yusee-tour-admin-main .yusee-tour-page-head p{display:none!important} body.page-id-738 .yusee-tour-admin-main .yusee-tour-page-head{margin-bottom:18px!important} body.page-id-738 .yusee-tour-admin-main .yusee-tour-chip,body.page-id-738 .yusee-tour-admin-main .yusee-tour-kv,body.page-id-738 .yusee-tour-admin-main .yusee-tour-image-state{display:none!important} body.page-id-738 .yusee-tour-admin-main .yusee-tour-meta-pills:empty{display:none!important} body.page-id-738 .yusee-tour-admin-main .yusee-tour-card-pad{gap:10px!important} .yusee-tour-gallery-preview:before{display:none!important;content:""!important}.yusee-tour-order-form{display:block}.yusee-tour-order-actions{justify-content:flex-end;margin:12px 0 0}.yusee-tour-category-card{position:relative;cursor:grab}.yusee-tour-category-card.is-dragging{opacity:.55;transform:scale(.99)}.yusee-tour-drag-handle{position:absolute;left:12px;top:12px;z-index:3;width:34px;height:34px;border-radius:999px;border:1px solid #d7dce2;background:#fff;color:#181C20;font-weight:700;cursor:grab;box-shadow:0 2px 8px rgba(24,28,32,.08)}.yusee-tour-category-card .yusee-tour-row-check{left:52px!important} /* category reorder handle refinement */ body.page-id-738 .yusee-tour-category-card{cursor:grab!important;transition:box-shadow .18s ease,opacity .18s ease!important} body.page-id-738 .yusee-tour-category-card:active{cursor:grabbing!important} body.page-id-738 .yusee-tour-drag-handle{all:unset!important;position:absolute!important;right:14px!important;top:14px!important;z-index:4!important;width:34px!important;height:28px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.55)!important;background:rgba(24,28,32,.36)!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:14px!important;font-weight:600!important;line-height:1!important;letter-spacing:-3px!important;cursor:grab!important;box-shadow:0 4px 14px rgba(24,28,32,.16)!important;backdrop-filter:blur(8px)!important} body.page-id-738 .yusee-tour-drag-handle:hover{background:rgba(24,28,32,.52)!important;color:#fff!important;transform:none!important;filter:none!important} body.page-id-738 .yusee-tour-category-card.is-dragging{opacity:.72!important;box-shadow:0 16px 36px rgba(24,28,32,.18)!important;transform:scale(.995)!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-row-check{left:14px!important;top:14px!important;z-index:5!important;width:18px!important;height:18px!important;accent-color:#181C20!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-card-img:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(24,28,32,.08),transparent 42%);pointer-events:none} body.page-id-738 .yusee-tour-order-actions .yusee-tour-btn{background:#fff!important;color:#181C20!important;border-color:#d7dce2!important;font-weight:650!important;box-shadow:none!important} /* category actions row: select + drag moved visually to bottom */ body.page-id-738 .yusee-tour-category-card .yusee-tour-card-img:after{display:none!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-row-check{position:static!important;width:18px!important;height:18px!important;margin:0!important;accent-color:#181C20!important;order:0!important;align-self:center!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;border-top:1px solid #eef0f2!important;padding-top:12px!important;margin-top:auto!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left{display:flex!important;align-items:center!important;gap:10px!important;order:1!important;width:auto!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left:before{content:"Select";font-size:12px;color:#667085;font-weight:600;margin-right:-4px} body.page-id-738 .yusee-tour-category-card .yusee-tour-drag-handle{all:unset!important;position:static!important;width:34px!important;height:30px!important;border:1px solid #d7dce2!important;border-radius:10px!important;background:#fff!important;color:#475467!important;display:grid!important;place-items:center!important;font-size:15px!important;font-weight:700!important;letter-spacing:-3px!important;cursor:grab!important;box-shadow:none!important;order:2!important;margin-left:0!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-drag-handle:hover{background:#f6f7f8!important;color:#181C20!important;border-color:#bfc7d2!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left .yusee-tour-btn{order:3!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-right{order:4!important;margin-left:auto!important;width:auto!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-right form,body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left form{width:auto!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-btn{min-height:32px!important;padding:8px 14px!important;border-radius:9px!important} body.page-id-738 .yusee-tour-category-card.is-dragging{opacity:.72!important;box-shadow:0 12px 30px rgba(24,28,32,.14)!important;transform:scale(.995)!important} /* category action row final cleanup */ body.page-id-738 .yusee-tour-category-card .yusee-tour-card-actions{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:10px!important;padding-top:12px!important;border-top:1px solid #eef0f2!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left{display:flex!important;align-items:center!important;gap:8px!important;width:auto!important;order:0!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left:before{display:none!important;content:""!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-drag-handle{order:0!important;width:34px!important;height:34px!important;border-radius:9px!important;background:#f8f9fa!important;border:1px solid #d9dde2!important;color:#4b5158!important;font-size:16px!important;letter-spacing:-2px!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-row-check{order:1!important;width:18px!important;height:18px!important;margin:0 4px 0 0!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left .yusee-tour-btn{order:3!important;margin-left:6px!important;background:#fff!important;color:#181C20!important;border-color:#d9dde2!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-right{grid-column:3!important;justify-self:end!important;margin-left:0!important;width:auto!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left{grid-column:1 / 3!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-btn{font-size:12px!important;font-weight:650!important;min-height:34px!important;padding:8px 16px!important;border-radius:9px!important;box-shadow:none!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-btn.danger{background:#fff!important;color:#ba1a1a!important;border-color:#fecaca!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-right form{margin:0!important} /* admin icon-only actions */ body.page-id-738 .yusee-tour-btn[data-yusee-iconized="1"],body.page-id-738 button.yusee-tour-btn[data-yusee-iconized="1"],body.page-id-738 a.yusee-tour-btn[data-yusee-iconized="1"]{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;border-radius:10px!important;display:inline-grid!important;place-items:center!important;font-size:0!important;line-height:1!important;box-shadow:none!important} body.page-id-738 .yusee-tour-btn[data-yusee-iconized="1"] span{font-size:16px!important;line-height:1!important;font-weight:700!important;color:inherit!important;display:block!important} body.page-id-738 .yusee-tour-page-head .yusee-tour-btn[data-yusee-iconized="1"],body.page-id-738 .yusee-tour-toolbar .yusee-tour-btn[data-yusee-iconized="1"]{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important} body.page-id-738 .yusee-tour-card-actions{gap:8px!important;align-items:center!important} body.page-id-738 .yusee-tour-action-left,body.page-id-738 .yusee-tour-action-right{gap:8px!important;align-items:center!important} body.page-id-738 .yusee-tour-danger-zone{margin-left:auto!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left{gap:8px!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-drag-handle,body.page-id-738 .yusee-tour-category-card .yusee-tour-row-check{flex:0 0 auto!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-row-check{margin-right:0!important} body.page-id-738 .yusee-tour-admin-list{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important;gap:16px!important} body.page-id-738 .yusee-tour-modal-card{width:min(980px,calc(100vw - 32px))!important} body.page-id-738 .yusee-tour-modal .yusee-tour-actions{display:flex!important;justify-content:flex-end!important;gap:8px!important} @media(max-width:900px){body.page-id-738 .yusee-tour-admin-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important}body.page-id-738 .yusee-tour-toolbar{grid-template-columns:1fr auto!important}body.page-id-738 .yusee-tour-modal-card{width:calc(100vw - 20px)!important;max-height:92vh!important}} @media(max-width:640px){body.page-id-738 .yusee-tour-admin-main{padding:12px!important}body.page-id-738 .yusee-tour-controls{padding:10px!important;margin-top:12px!important}body.page-id-738 .yusee-tour-toolbar{display:grid!important;grid-template-columns:1fr 44px!important;gap:8px!important;width:100%!important}body.page-id-738 .yusee-tour-toolbar-field{min-width:0!important}body.page-id-738 .yusee-tour-toolbar-field .yusee-tour-btn[data-yusee-iconized="1"]{width:40px!important;height:40px!important}body.page-id-738 .yusee-tour-admin-list{grid-template-columns:1fr!important;gap:12px!important}body.page-id-738 .yusee-tour-card-actions{display:grid!important;grid-template-columns:auto auto 1fr auto!important}body.page-id-738 .yusee-tour-action-left{grid-column:1/4!important;display:flex!important;flex-wrap:wrap!important}body.page-id-738 .yusee-tour-action-right{grid-column:4!important;justify-self:end!important}body.page-id-738 .yusee-tour-modal{padding:0!important;align-items:stretch!important}body.page-id-738 .yusee-tour-modal-card{width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}body.page-id-738 .yusee-tour-modal-head{padding:14px!important}body.page-id-738 .yusee-tour-modal-card>.yusee-tour-body{padding:14px!important}body.page-id-738 .yusee-tour-modal .yusee-tour-form .row,body.page-id-738 .yusee-tour-modal .yusee-tour-form .row-3{grid-template-columns:1fr!important}body.page-id-738 .yusee-tour-modal .yusee-tour-actions{position:sticky!important;bottom:0!important;margin-left:-14px!important;margin-right:-14px!important;padding:10px 14px!important;background:#fff!important;border-top:1px solid #e5e7eb!important;display:flex!important;justify-content:flex-end!important}body.page-id-738 .yusee-tour-modal .yusee-tour-btn[data-yusee-iconized="1"]{width:40px!important;height:40px!important}} /* mobile admin package cleanup */ @media(max-width:640px){ body.page-id-738 .yusee-tour-admin-side{position:static!important;padding:10px!important} body.page-id-738 .yusee-tour-admin-main{padding:10px!important} body.page-id-738 .yusee-tour-toolbar{grid-template-columns:1fr 1fr!important;gap:10px!important;align-items:end!important} body.page-id-738 .yusee-tour-toolbar-field{min-width:0!important} body.page-id-738 .yusee-tour-field-label{font-size:11px!important;letter-spacing:.04em!important;margin-bottom:5px!important} body.page-id-738 .yusee-tour-toolbar input,body.page-id-738 .yusee-tour-toolbar select{height:44px!important;min-height:44px!important;font-size:14px!important;border-radius:12px!important;padding:0 12px!important} body.page-id-738 .yusee-tour-toolbar-field:has(.yusee-tour-btn){grid-column:1/-1!important;display:flex!important;justify-content:flex-start!important} body.page-id-738 .yusee-tour-controls{border-radius:16px!important;padding:12px!important;gap:12px!important} body.page-id-738 .yusee-tour-view-row{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;margin-top:10px!important} body.page-id-738 .yusee-tour-count{font-size:14px!important;font-weight:650!important} body.page-id-738 .yusee-tour-view-row .yusee-tour-action-left{display:flex!important;gap:8px!important;width:auto!important;flex-wrap:nowrap!important} body.page-id-738 .yusee-tour-bulkbar{display:grid!important;grid-template-columns:1fr auto!important;gap:10px!important;align-items:center!important;padding:12px!important;border-radius:16px!important;margin:14px 0!important} body.page-id-738 .yusee-tour-bulkbar label{font-size:14px!important;font-weight:650!important;display:flex!important;align-items:center!important;gap:8px!important} body.page-id-738 .yusee-tour-bulkbar select{height:42px!important;min-height:42px!important;font-size:14px!important;border-radius:12px!important;padding:0 12px!important;width:100%!important} body.page-id-738 .yusee-tour-bulkbar .yusee-tour-actions{display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;gap:8px!important;margin:0!important;width:100%!important;grid-column:1/-1!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card]{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;border-radius:18px!important;overflow:hidden!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-img{height:100%!important;min-height:220px!important;border-radius:0!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-pad{padding:14px!important;gap:10px!important;min-width:0!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-title{font-size:20px!important;line-height:1.18!important;letter-spacing:-.02em!important;margin:0!important;word-break:normal!important;overflow-wrap:anywhere!important} body.page-id-738 .yusee-tour-package-head{display:block!important} body.page-id-738 .yusee-tour-updated{display:inline-flex!important;margin-top:8px!important;font-size:12px!important;padding:5px 9px!important;border-radius:999px!important;background:#f7f7f5!important;border:1px solid #e3e5e8!important;color:#4b5158!important} body.page-id-738 .yusee-tour-meta-pills{gap:6px!important;margin-top:4px!important} body.page-id-738 .yusee-tour-pill,body.page-id-738 .yusee-tour-status{font-size:11px!important;font-weight:650!important;padding:5px 8px!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;border-top:1px solid #eef0f2!important;padding-top:10px!important;margin-top:4px!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-action-left,body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-action-right{display:flex!important;gap:6px!important;flex-wrap:wrap!important;width:auto!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-action-right{margin-left:auto!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-btn[data-yusee-iconized="1"]{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;border-radius:9px!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-btn[data-yusee-iconized="1"] span{font-size:15px!important} body.page-id-738 .yusee-tour-row-check[data-yusee-row-check]{position:absolute!important;left:12px!important;top:12px!important;width:18px!important;height:18px!important;z-index:4!important;background:#fff!important} } @media(max-width:420px){ body.page-id-738 .yusee-tour-mini[data-yusee-package-card]{grid-template-columns:82px minmax(0,1fr)!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-img{min-height:210px!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-title{font-size:18px!important} body.page-id-738 .yusee-tour-toolbar{grid-template-columns:1fr!important} } /* mobile categories admin clarity */ @media(max-width:640px){ body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]){padding:12px!important;border-radius:18px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:10px!important;align-items:end!important;width:100%!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field{min-width:0!important;width:100%!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:has(.yusee-tour-btn){grid-column:auto!important;width:44px!important;display:block!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:has(.yusee-tour-btn) .yusee-tour-field-label{display:none!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) input[type="search"]{height:44px!important;border-radius:14px!important;font-size:14px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-btn[data-yusee-iconized="1"]{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border-radius:12px!important;background:#181C20!important;color:#fff!important} body.page-id-738 #yusee-category-bulk-form.yusee-tour-bulkbar{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;padding:14px!important;border-radius:18px!important;margin:14px 0!important} body.page-id-738 #yusee-category-bulk-form>label{display:flex!important;align-items:center!important;gap:10px!important;font-size:14px!important;font-weight:650!important;margin:0!important;color:#181C20!important} body.page-id-738 #yusee-category-bulk-form>label input{width:18px!important;height:18px!important;margin:0!important;accent-color:#181C20!important} body.page-id-738 #yusee-category-bulk-form .yusee-tour-actions{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:8px!important;width:100%!important;margin:0!important;align-items:center!important} body.page-id-738 #yusee-category-bulk-form select{height:44px!important;min-height:44px!important;border-radius:14px!important;font-size:14px!important;padding:0 12px!important;width:100%!important} body.page-id-738 #yusee-category-bulk-form .yusee-tour-btn[data-yusee-iconized="1"]{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border-radius:12px!important;background:#fff!important;color:#181C20!important;border-color:#d7dce2!important} } /* remove category bulk select UI */ body.page-id-738 #yusee-category-bulk-form{display:none!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-row-check{display:none!important} /* hard-remove category bulk UI + stray submit */ body.page-id-738 #yusee-category-bulk-form,body.page-id-738 #yusee-category-bulk-form *,body.page-id-738 #yusee-category-bulk-form .yusee-tour-btn{display:none!important;visibility:hidden!important;width:0!important;height:0!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important} body.page-id-738 .yusee-tour-order-actions{justify-content:flex-end!important;margin:10px 0!important} body.page-id-738 .yusee-tour-order-actions .yusee-tour-btn[data-yusee-iconized="1"]{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;background:#181C20!important;color:#fff!important;border-color:#181C20!important} /* auto-save category order: no save button */ body.page-id-738 .yusee-tour-order-actions{display:none!important} body.page-id-738 [data-yusee-category-id].is-dragging{cursor:grabbing!important} /* admin toolbar full-width + add icon-only */ body.page-id-738 .yusee-tour-controls .yusee-tour-toolbar{grid-template-columns:minmax(0,1fr) auto!important;width:100%!important;align-items:end!important;gap:10px!important} body.page-id-738 .yusee-tour-controls .yusee-tour-toolbar-field:first-child{min-width:0!important;width:100%!important} body.page-id-738 .yusee-tour-controls .yusee-tour-toolbar-field:first-child input{width:100%!important;box-sizing:border-box!important} body.page-id-738 .yusee-tour-controls .yusee-tour-toolbar-field:has(a[href*="add_category"]),body.page-id-738 .yusee-tour-controls .yusee-tour-toolbar-field:has(a[href*="add_package"]){width:44px!important;min-width:44px!important;display:flex!important;align-items:flex-end!important;justify-content:flex-end!important} body.page-id-738 .yusee-tour-controls .yusee-tour-toolbar-field:has(a[href*="add_category"]) .yusee-tour-field-label,body.page-id-738 .yusee-tour-controls .yusee-tour-toolbar-field:has(a[href*="add_package"]) .yusee-tour-field-label{display:none!important} body.page-id-738 a.yusee-tour-btn[href*="add_category"],body.page-id-738 a.yusee-tour-btn[href*="add_package"]{font-size:0!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;border-radius:10px!important;display:grid!important;place-items:center!important;background:#181C20!important;color:#fff!important;border-color:#181C20!important;overflow:hidden!important;white-space:nowrap!important} body.page-id-738 a.yusee-tour-btn[href*="add_category"]:before,body.page-id-738 a.yusee-tour-btn[href*="add_package"]:before{content:"+";font-size:20px!important;line-height:1!important;font-weight:700!important;color:#fff!important} body.page-id-738 a.yusee-tour-btn[href*="add_category"] span,body.page-id-738 a.yusee-tour-btn[href*="add_package"] span{display:none!important} @media(max-width:640px){body.page-id-738 .yusee-tour-controls .yusee-tour-toolbar{grid-template-columns:minmax(0,1fr) 44px!important}body.page-id-738 a.yusee-tour-btn[href*="add_category"],body.page-id-738 a.yusee-tour-btn[href*="add_package"]{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}} body.page-id-738 a.yusee-tour-btn[aria-label="Add Category"],body.page-id-738 a.yusee-tour-btn[aria-label="Add Package"]{font-size:0!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:12px!important;white-space:nowrap!important;overflow:hidden!important} body.page-id-738 a.yusee-tour-btn[aria-label="Add Category"] span,body.page-id-738 a.yusee-tour-btn[aria-label="Add Package"] span{font-size:22px!important;line-height:1!important;color:inherit!important;display:block!important} /* add buttons explicit text labels */ body.page-id-738 a.yusee-tour-btn[aria-label="Add Category"],body.page-id-738 a.yusee-tour-btn[aria-label="Add Package"]{font-size:13px!important;width:auto!important;height:40px!important;min-width:0!important;min-height:40px!important;padding:0 14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:10px!important;white-space:nowrap!important;overflow:visible!important;font-weight:650!important} body.page-id-738 a.yusee-tour-btn[aria-label="Add Category"]:before,body.page-id-738 a.yusee-tour-btn[aria-label="Add Package"]:before{content:""!important;display:none!important} body.page-id-738 a.yusee-tour-btn[aria-label="Add Category"] span,body.page-id-738 a.yusee-tour-btn[aria-label="Add Package"] span{display:none!important} body.page-id-738 .yusee-tour-controls .yusee-tour-toolbar-field:has(a[aria-label="Add Category"]),body.page-id-738 .yusee-tour-controls .yusee-tour-toolbar-field:has(a[aria-label="Add Package"]){width:auto!important;min-width:max-content!important} @media(max-width:640px){body.page-id-738 a.yusee-tour-btn[aria-label="Add Category"],body.page-id-738 a.yusee-tour-btn[aria-label="Add Package"]{height:44px!important;min-height:44px!important;padding:0 14px!important;font-size:13px!important}} /* FINAL: add buttons text, not icon */ body.page-id-738 .yusee-tour-controls a.yusee-tour-btn[aria-label="Add Category"],body.page-id-738 .yusee-tour-controls a.yusee-tour-btn[aria-label="Add Package"]{font-size:13px!important;width:auto!important;min-width:max-content!important;height:40px!important;min-height:40px!important;padding:0 16px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:10px!important;white-space:nowrap!important;overflow:visible!important;background:#181C20!important;color:#fff!important;border-color:#181C20!important;line-height:1!important} body.page-id-738 .yusee-tour-controls a.yusee-tour-btn[aria-label="Add Category"]:before,body.page-id-738 .yusee-tour-controls a.yusee-tour-btn[aria-label="Add Package"]:before,body.page-id-738 .yusee-tour-controls a.yusee-tour-btn[aria-label="Add Category"]:after,body.page-id-738 .yusee-tour-controls a.yusee-tour-btn[aria-label="Add Package"]:after{display:none!important;content:none!important} body.page-id-738 .yusee-tour-controls .yusee-tour-toolbar-field:has(a[aria-label="Add Category"]),body.page-id-738 .yusee-tour-controls .yusee-tour-toolbar-field:has(a[aria-label="Add Package"]){width:auto!important;min-width:max-content!important;display:flex!important;align-items:flex-end!important;justify-content:flex-end!important} body.page-id-738 .yusee-tour-controls .yusee-tour-toolbar{grid-template-columns:minmax(0,1fr) max-content!important} @media(max-width:640px){body.page-id-738 .yusee-tour-controls .yusee-tour-toolbar{grid-template-columns:minmax(0,1fr) max-content!important}body.page-id-738 .yusee-tour-controls a.yusee-tour-btn[aria-label="Add Category"],body.page-id-738 .yusee-tour-controls a.yusee-tour-btn[aria-label="Add Package"]{height:44px!important;min-height:44px!important;padding:0 14px!important;font-size:13px!important}} /* package grid/list mobile cleanup */ @media(max-width:640px){ body.page-id-738 [data-yusee-package-list-wrap].yusee-tour-view-compact .yusee-tour-admin-list, body.page-id-738 [data-yusee-package-list-wrap].yusee-tour-view-grid .yusee-tour-admin-list{display:grid!important;grid-template-columns:1fr!important;gap:12px!important} body.page-id-738 [data-yusee-package-list-wrap].yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card]{display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;min-height:168px!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important;border:1px solid #dfe3e8!important;box-shadow:0 1px 2px rgba(24,28,32,.04)!important} body.page-id-738 [data-yusee-package-list-wrap].yusee-tour-view-grid .yusee-tour-mini[data-yusee-package-card]{display:flex!important;flex-direction:column!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important;border:1px solid #dfe3e8!important;box-shadow:0 1px 2px rgba(24,28,32,.04)!important} body.page-id-738 [data-yusee-package-list-wrap].yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-img{height:100%!important;min-height:168px!important;width:84px!important;border-radius:0!important;background:#eef0f2!important} body.page-id-738 [data-yusee-package-list-wrap].yusee-tour-view-grid .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-img{height:170px!important;width:100%!important;border-radius:0!important;background:#eef0f2!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-img img{width:100%!important;height:100%!important;object-fit:cover!important;transform:none!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-pad{padding:13px!important;gap:9px!important;min-width:0!important;display:flex!important;flex-direction:column!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-package-head{display:block!important;min-width:0!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-package-title-group{min-width:0!important;display:block!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-title{font-size:16px!important;line-height:1.22!important;font-weight:700!important;letter-spacing:-.01em!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;word-break:normal!important;overflow-wrap:anywhere!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-updated{display:block!important;width:max-content!important;margin:7px 0 0!important;font-size:11px!important;line-height:1!important;padding:5px 8px!important;border-radius:999px!important;background:#f7f7f5!important;border:1px solid #e7e8ea!important;color:#4b5158!important;font-weight:650!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-meta-pills{display:flex!important;gap:6px!important;flex-wrap:wrap!important;margin:0!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-pill,body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-status{font-size:10px!important;line-height:1!important;font-weight:650!important;padding:5px 7px!important;border-radius:999px!important;background:#f4f5f6!important;color:#181C20!important;border:0!important;text-transform:none!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-status.draft{color:#a14b00!important;background:#fff6ed!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-image-state,body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-kv{display:none!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-actions{margin-top:auto!important;padding-top:10px!important;border-top:1px solid #eef0f2!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-width:0!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-action-left{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:6px!important;width:auto!important;min-width:0!important;grid-column:auto!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-action-right{display:flex!important;flex-direction:row!important;gap:6px!important;width:auto!important;margin-left:auto!important;grid-column:auto!important;justify-self:end!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-action-left form,body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-action-right form{width:auto!important;margin:0!important;display:block!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-btn[data-yusee-iconized="1"]{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;border-radius:9px!important;padding:0!important;background:#fff!important;color:#181C20!important;border:1px solid #d8dadd!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-btn[data-yusee-iconized="1"] span{font-size:14px!important;font-weight:700!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-btn.danger[data-yusee-iconized="1"]{color:#ba1a1a!important;border-color:#fecaca!important;background:#fffafa!important} body.page-id-738 .yusee-tour-row-check[data-yusee-row-check]{position:absolute!important;left:10px!important;top:10px!important;width:18px!important;height:18px!important;margin:0!important;z-index:4!important;accent-color:#181C20!important;box-shadow:0 1px 4px rgba(24,28,32,.16)!important} } @media(max-width:420px){ body.page-id-738 [data-yusee-package-list-wrap].yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card]{grid-template-columns:76px minmax(0,1fr)!important} body.page-id-738 [data-yusee-package-list-wrap].yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-img{width:76px!important;min-height:160px!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-pad{padding:12px!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-title{font-size:15px!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-btn[data-yusee-iconized="1"]{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important} } /* packages toolbar tidy layout */ body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]){display:grid!important;grid-template-columns:1fr!important;gap:12px!important;padding:14px!important;border-radius:18px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) 220px 180px max-content!important;gap:10px!important;width:100%!important;align-items:end!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar-field:first-child{grid-column:1/-1!important;width:100%!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar input,body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar select{height:42px!important;min-height:42px!important;border-radius:12px!important;font-size:14px!important;padding:0 12px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-field-label{font-size:12px!important;text-transform:none!important;letter-spacing:0!important;font-weight:650!important;color:#667085!important;margin-bottom:6px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) a.yusee-tour-btn[aria-label="Add Package"]{height:42px!important;min-height:42px!important;padding:0 16px!important;border-radius:12px!important;width:auto!important;min-width:max-content!important;font-size:13px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0!important;padding-top:10px!important;border-top:1px solid #eef0f2!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-count{font-size:14px!important;font-weight:650!important;color:#181C20!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row .yusee-tour-action-left{display:flex!important;gap:8px!important;flex-wrap:nowrap!important;width:auto!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row .yusee-tour-btn[data-yusee-iconized="1"]{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border-radius:10px!important;background:#fff!important;color:#181C20!important;border-color:#d7dce2!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row .yusee-tour-btn.active{background:#181C20!important;color:#fff!important;border-color:#181C20!important} @media(max-width:900px){body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) max-content!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar-field:first-child{grid-column:1/-1!important}} @media(max-width:640px){body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]){padding:12px!important;gap:12px!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar{grid-template-columns:1fr 1fr!important;gap:10px!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar-field:first-child{grid-column:1/-1!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar-field:has(a[aria-label="Add Package"]){grid-column:1/-1!important;width:100%!important;min-width:0!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) a.yusee-tour-btn[aria-label="Add Package"]{width:100%!important;height:44px!important;min-height:44px!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row{padding-top:10px!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row .yusee-tour-action-left{gap:6px!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row .yusee-tour-btn[data-yusee-iconized="1"]{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}} /* packages toolbar requested layout: row1 search/category/sort, row2 count + actions/add */ body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]){display:grid!important;grid-template-columns:1fr!important;gap:12px!important;padding:14px!important;border-radius:18px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) 220px 180px!important;gap:10px!important;width:100%!important;align-items:end!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar-field:has(a[aria-label="Add Package"]){display:none!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar-field:first-child{grid-column:auto!important;width:100%!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar input,body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar select{height:42px!important;min-height:42px!important;border-radius:12px!important;font-size:14px!important;padding:0 12px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0!important;padding-top:10px!important;border-top:1px solid #eef0f2!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row .yusee-tour-action-left{display:flex!important;gap:8px!important;flex-wrap:nowrap!important;width:auto!important;align-items:center!important;justify-content:flex-end!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row a[aria-label="Add Package"]{order:9!important;height:36px!important;min-height:36px!important;width:auto!important;min-width:max-content!important;padding:0 14px!important;font-size:13px!important;border-radius:10px!important;background:#181C20!important;color:#fff!important;border-color:#181C20!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row .yusee-tour-btn[data-yusee-iconized="1"]{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border-radius:10px!important;background:#fff!important;color:#181C20!important;border-color:#d7dce2!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row .yusee-tour-btn.active{background:#181C20!important;color:#fff!important;border-color:#181C20!important} @media(max-width:900px){body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar-field:first-child{grid-column:1/-1!important}} @media(max-width:640px){body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]){padding:12px!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar{grid-template-columns:1fr 1fr!important;gap:10px!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar-field:first-child{grid-column:1/-1!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row{align-items:flex-start!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row .yusee-tour-action-left{flex-wrap:wrap!important;justify-content:flex-end!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row a[aria-label="Add Package"]{height:34px!important;min-height:34px!important;padding:0 12px!important;font-size:12px!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row .yusee-tour-btn[data-yusee-iconized="1"]{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}} /* remove package toolbar field labels */ body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-field-label{display:none!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar{align-items:center!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar input,body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar select{margin-top:0!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar-field{display:flex!important;align-items:center!important} /* align category action row with package action row */ body.page-id-738 .yusee-tour-category-card .yusee-tour-card-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;border-top:1px solid #eef0f2!important;padding-top:10px!important;margin-top:auto!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left{display:flex!important;align-items:center!important;gap:6px!important;grid-column:auto!important;width:auto!important;flex-wrap:nowrap!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-right{display:flex!important;align-items:center!important;gap:6px!important;grid-column:auto!important;justify-self:auto!important;margin-left:auto!important;width:auto!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-drag-handle{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;border-radius:9px!important;background:#fff!important;color:#181C20!important;border:1px solid #d8dadd!important;display:grid!important;place-items:center!important;font-size:14px!important;letter-spacing:-2px!important;order:0!important;box-shadow:none!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left .yusee-tour-btn{order:1!important;margin-left:0!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;border-radius:9px!important;background:#fff!important;color:#181C20!important;border:1px solid #d8dadd!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left .yusee-tour-btn span{font-size:14px!important;color:inherit!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-right .yusee-tour-btn{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;border-radius:9px!important;background:#fffafa!important;color:#ba1a1a!important;border:1px solid #fecaca!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-right .yusee-tour-btn span{font-size:14px!important;color:inherit!important} @media(max-width:640px){body.page-id-738 .yusee-tour-category-card .yusee-tour-card-actions{display:flex!important;grid-template-columns:none!important}body.page-id-738 .yusee-tour-category-card .yusee-tour-drag-handle,body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left .yusee-tour-btn,body.page-id-738 .yusee-tour-category-card .yusee-tour-action-right .yusee-tour-btn{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}} /* category action exact match package filled style */ body.page-id-738 .yusee-tour-category-card .yusee-tour-drag-handle, body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left .yusee-tour-btn{ background:#181C20!important; color:#fff!important; border-color:#181C20!important; width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important; border-radius:9px!important;box-shadow:none!important; } body.page-id-738 .yusee-tour-category-card .yusee-tour-drag-handle:hover, body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left .yusee-tour-btn:hover{background:#2b2f34!important;border-color:#2b2f34!important;color:#fff!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-drag-handle, body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left .yusee-tour-btn span{color:#fff!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-right .yusee-tour-btn.danger{background:#fffafa!important;color:#ba1a1a!important;border-color:#fecaca!important} /* unified transparent black icon buttons */ body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-btn[data-yusee-iconized="1"], body.page-id-738 .yusee-tour-category-card .yusee-tour-drag-handle, body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left .yusee-tour-btn, body.page-id-738 .yusee-tour-category-card .yusee-tour-action-right .yusee-tour-btn, body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-btn.danger[data-yusee-iconized="1"]{ background:#fff!important; color:#181C20!important; border:1px solid #d8dadd!important; box-shadow:none!important; } body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-btn[data-yusee-iconized="1"] span, body.page-id-738 .yusee-tour-category-card .yusee-tour-drag-handle, body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left .yusee-tour-btn span, body.page-id-738 .yusee-tour-category-card .yusee-tour-action-right .yusee-tour-btn span, body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-btn.danger[data-yusee-iconized="1"] span{color:#181C20!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-btn[data-yusee-iconized="1"]:hover, body.page-id-738 .yusee-tour-category-card .yusee-tour-drag-handle:hover, body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left .yusee-tour-btn:hover, body.page-id-738 .yusee-tour-category-card .yusee-tour-action-right .yusee-tour-btn:hover{ background:#f6f7f8!important; color:#181C20!important; border-color:#bfc7d2!important; filter:none!important; transform:none!important; } body.page-id-738 .yusee-tour-category-card .yusee-tour-action-right .yusee-tour-btn.danger, body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-action-right .yusee-tour-btn.danger{color:#181C20!important;border-color:#d8dadd!important;background:#fff!important} /* requested mobile toolbar alignment + package count text */ body.page-id-738 .yusee-tour-count{text-transform:none!important} @media(max-width:640px){ body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]){padding:12px!important;border-radius:18px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;gap:10px!important;align-items:center!important;width:100%!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:first-child{grid-column:auto!important;min-width:0!important;width:100%!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:has(a[aria-label="Add Category"]){grid-column:auto!important;width:auto!important;min-width:max-content!important;display:flex!important;align-items:center!important;justify-content:flex-end!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-field-label{display:none!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) input[type="search"]{height:44px!important;min-height:44px!important;border-radius:14px!important;font-size:14px!important;margin:0!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) a[aria-label="Add Category"]{height:44px!important;min-height:44px!important;width:auto!important;min-width:max-content!important;padding:0 14px!important;font-size:13px!important;border-radius:10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;background:#181C20!important;color:#fff!important;border-color:#181C20!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]){padding:12px!important;border-radius:18px!important;gap:12px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;align-items:center!important;width:100%!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar-field:first-child{grid-column:1/-1!important;width:100%!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-toolbar-field:has(a[aria-label="Add Package"]){display:none!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-field-label{display:none!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) input,body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) select{height:44px!important;min-height:44px!important;border-radius:14px!important;margin:0!important;font-size:14px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding-top:12px!important;margin:0!important;border-top:1px solid #eef0f2!important;flex-direction:row!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-count{font-size:14px!important;font-weight:750!important;color:#181C20!important;white-space:nowrap!important;text-align:left!important;width:auto!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row .yusee-tour-action-left{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;width:auto!important;min-width:0!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row .yusee-tour-btn[data-yusee-iconized="1"]{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:0!important;border-radius:10px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row a[aria-label="Add Package"]{height:34px!important;min-height:34px!important;width:auto!important;min-width:max-content!important;padding:0 12px!important;font-size:12px!important;border-radius:10px!important;white-space:nowrap!important;background:#181C20!important;color:#fff!important;border-color:#181C20!important} } @media(max-width:380px){body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar{grid-template-columns:minmax(0,1fr) max-content!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) a[aria-label="Add Category"]{padding:0 10px!important;font-size:12px!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row{align-items:flex-start!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row .yusee-tour-action-left{flex-wrap:wrap!important}} /* hide Clear Filter button */ body.page-id-738 .yusee-tour-controls a.yusee-tour-btn[href*="tour_admin_tab=packages"]:not([href*="view="]):not([aria-label="Add Package"]){display:none!important} body.page-id-738 .yusee-tour-controls .yusee-tour-view-row a.yusee-tour-btn[data-yusee-btn-text="Clear Filter"]{display:none!important} /* booking settings */ body.page-id-738 .yusee-tour-booking-settings-panel{max-width:860px!important} body.page-id-738 .yusee-tour-booking-preview{margin-top:8px;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;background:#181C20;color:#fff;font-weight:650} /* category global setting button */ body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) a[aria-label="Global Setting"]{height:44px!important;min-height:44px!important;padding:0 14px!important;border-radius:10px!important;white-space:nowrap!important;color:#181C20!important;background:#fff!important;border-color:#d8dadd!important;font-size:13px!important;font-weight:650!important} @media(max-width:640px){body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar{grid-template-columns:minmax(0,1fr) max-content max-content!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) a[aria-label="Global Setting"]{height:44px!important;min-height:44px!important;padding:0 10px!important;font-size:12px!important}} /* categories toolbar: search separate from actions */ body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]){display:grid!important;grid-template-columns:1fr!important;gap:12px!important;padding:14px!important;border-radius:18px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;align-items:stretch!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:first-child{grid-column:1/-1!important;width:100%!important;min-width:0!important;display:block!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:has(a[aria-label="Add Category"]), body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:has(a[aria-label="Global Setting"]){grid-column:auto!important;width:auto!important;min-width:max-content!important;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;margin-right:8px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:has(a[aria-label="Add Category"]){grid-row:2!important;justify-self:start!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:has(a[aria-label="Global Setting"]){grid-row:2!important;justify-self:start!important;margin-left:128px!important;margin-top:-54px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) input[type="search"]{width:100%!important;height:44px!important;min-height:44px!important;border-radius:12px!important;box-sizing:border-box!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) a[aria-label="Add Category"], body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) a[aria-label="Global Setting"]{height:40px!important;min-height:40px!important;width:auto!important;min-width:max-content!important;padding:0 14px!important;border-radius:10px!important;font-size:13px!important;white-space:nowrap!important} @media(max-width:640px){ body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar{grid-template-columns:1fr!important;gap:10px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:has(a[aria-label="Add Category"]), body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:has(a[aria-label="Global Setting"]){grid-row:auto!important;margin:0!important;display:inline-flex!important;width:auto!important;min-width:max-content!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:has(a[aria-label="Global Setting"]){margin-top:-50px!important;margin-left:128px!important} } /* FINAL categories toolbar vertical: search, Add Category, Global Setting */ body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]){display:block!important;padding:14px!important;border-radius:18px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;align-items:start!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field{display:block!important;width:100%!important;min-width:0!important;margin:0!important;grid-column:1/-1!important;grid-row:auto!important;justify-self:stretch!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:has(a[aria-label="Add Category"]), body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:has(a[aria-label="Global Setting"]){width:max-content!important;min-width:max-content!important;justify-self:start!important;margin:0!important;display:block!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-field-label{display:none!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) input[type="search"]{width:100%!important;max-width:none!important;height:44px!important;min-height:44px!important;margin:0!important;box-sizing:border-box!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) a[aria-label="Add Category"], body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) a[aria-label="Global Setting"]{width:auto!important;min-width:max-content!important;height:40px!important;min-height:40px!important;padding:0 14px!important;margin:0!important;border-radius:10px!important;font-size:13px!important;white-space:nowrap!important;display:inline-flex!important;align-items:center!important;justify-content:center!important} @media(max-width:640px){body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar{grid-template-columns:1fr!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:has(a[aria-label="Global Setting"]){margin:0!important;margin-left:0!important;margin-top:0!important}} /* categories toolbar: search full, buttons right */ body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]){display:block!important;padding:14px!important;border-radius:18px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar{display:grid!important;grid-template-columns:1fr max-content max-content!important;gap:10px!important;width:100%!important;align-items:center!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:first-child{grid-column:1/-1!important;grid-row:1!important;width:100%!important;min-width:0!important;display:block!important;margin:0!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:has(a[aria-label="Add Category"]){grid-column:2!important;grid-row:2!important;justify-self:end!important;width:auto!important;min-width:max-content!important;margin:0!important;display:block!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar-field:has(a[aria-label="Global Setting"]){grid-column:3!important;grid-row:2!important;justify-self:end!important;width:auto!important;min-width:max-content!important;margin:0!important;display:block!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-field-label{display:none!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) input[type="search"]{width:100%!important;max-width:none!important;height:40px!important;min-height:40px!important;margin:0!important;box-sizing:border-box!important;border-radius:12px!important} body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) a[aria-label="Add Category"],body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) a[aria-label="Global Setting"]{width:auto!important;min-width:max-content!important;height:36px!important;min-height:36px!important;padding:0 14px!important;margin:0!important;border-radius:10px!important;font-size:13px!important;white-space:nowrap!important;display:inline-flex!important;align-items:center!important;justify-content:center!important} @media(max-width:640px){body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) .yusee-tour-toolbar{grid-template-columns:1fr max-content max-content!important}body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) a[aria-label="Add Category"],body.page-id-738 .yusee-tour-controls:has([data-yusee-search="category"]) a[aria-label="Global Setting"]{height:36px!important;min-height:36px!important;padding:0 12px!important;font-size:12px!important}} /* two global CTA buttons */ .yusee-tour-product-actions,.yusee-tour-book-card,.yusee-tour-mobile-book{gap:10px!important} .yusee-tour-custom-booking{background:#fff!important;color:#181C20!important;border-color:#d8dadd!important} body.page-id-738 .yusee-tour-form-section + .yusee-tour-form-section{margin-top:18px!important} body.page-id-738 .yusee-tour-custom-preview{background:#fff!important;color:#181C20!important;border:1px solid #d8dadd!important} /* package detail custom button: white + black border */ .yusee-tour-product-wrap .yusee-tour-custom-booking, .yusee-tour-product-wrap .yusee-tour-btn.yusee-tour-custom-booking, .yusee-tour-mobile-book .yusee-tour-custom-booking, .yusee-tour-book-card .yusee-tour-custom-booking, .yusee-tour-product-actions .yusee-tour-custom-booking{ background:#fff!important; color:#181C20!important; border:1px solid #181C20!important; box-shadow:none!important; } .yusee-tour-product-wrap .yusee-tour-custom-booking:hover{background:#f6f7f8!important;color:#181C20!important;border-color:#181C20!important;filter:none!important} .yusee-tour-product-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important} .yusee-tour-product-actions .yusee-tour-btn{flex:1 1 160px!important} .yusee-tour-mobile-book{display:flex!important;gap:10px!important;align-items:center!important} .yusee-tour-mobile-book .yusee-tour-btn{flex:1 1 auto!important} /* hide global setting helper text + previews */ body.page-id-738 .yusee-tour-modal-head .yusee-tour-small:empty{display:none!important} body.page-id-738 .yusee-tour-booking-preview{display:none!important} /* legacy drag disabled */ body.page-id-738 .yusee-tour-drag-handle{display:none!important} body.page-id-738 .yusee-tour-category-card{cursor:default!important} /* category arrow reorder */ body.page-id-738 .yusee-tour-order-arrows{display:inline-flex!important;gap:6px!important;align-items:center!important} body.page-id-738 .yusee-tour-arrow-btn{width:36px!important;height:36px!important;border-radius:10px!important;border:1px solid #d7dce2!important;background:#fff!important;color:#181C20!important;font-weight:900!important;line-height:1!important;cursor:pointer!important} body.page-id-738 .yusee-tour-arrow-btn:hover{background:#f6f8fc!important} /* mobile booking bar only on mobile */ .yusee-tour-mobile-book{display:none!important} @media(max-width:767px){.yusee-tour-mobile-book{display:flex!important}} /* bottom duplicate booking CTA */ .yusee-tour-product-bottom-cta{margin:34px auto 0!important;max-width:760px!important} .yusee-tour-product-bottom-cta h2{margin:8px 0 14px!important;font-size:clamp(32px,5vw,58px)!important;line-height:.98!important;letter-spacing:-.045em!important;text-transform:uppercase!important;font-weight:900!important} @media(max-width:767px){.yusee-tour-product-bottom-cta{margin-top:24px!important}.yusee-tour-product-bottom-cta h2{font-size:38px!important}} /* gallery append + remove thumbs */ body.page-id-738 .yusee-tour-gallery-preview{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:flex-start!important} body.page-id-738 .yusee-tour-gallery-thumb{position:relative!important;width:92px!important;height:72px!important;border-radius:12px!important;overflow:hidden!important;border:1px solid #d8dee7!important;background:#f3f5f7!important;flex:0 0 auto!important} body.page-id-738 .yusee-tour-gallery-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important} body.page-id-738 .yusee-tour-gallery-remove{position:absolute!important;right:5px!important;top:5px!important;width:22px!important;height:22px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.75)!important;background:rgba(24,28,32,.72)!important;color:#fff!important;font-size:15px!important;line-height:18px!important;font-weight:900!important;display:grid!important;place-items:center!important;cursor:pointer!important;padding:0!important;box-shadow:0 2px 8px rgba(0,0,0,.18)!important} body.page-id-738 .yusee-tour-gallery-remove:hover{background:#181C20!important} /* package form upload-only + section backgrounds */ body.page-id-738 .yusee-tour-media-upload-only .yusee-tour-media-row,body.page-id-738 .yusee-tour-gallery-upload-only .yusee-tour-gallery-actions{display:flex!important;flex-wrap:wrap!important;grid-template-columns:none!important;gap:10px!important;align-items:center!important} body.page-id-738 .yusee-tour-media-upload-only .yusee-tour-btn,body.page-id-738 .yusee-tour-gallery-upload-only .yusee-tour-btn{min-width:132px!important} body.page-id-738 .yusee-tour-media-upload-only [data-yusee-media-manual],body.page-id-738 .yusee-tour-gallery-upload-only [data-yusee-gallery-input]{margin-top:12px!important} body.page-id-738 .yusee-tour-media-upload-only [data-yusee-media-status],body.page-id-738 .yusee-tour-gallery-upload-only [data-yusee-gallery-status]{display:block!important;margin-top:8px!important;color:#475467!important;font-size:12px!important;line-height:1.5!important} body.page-id-738 .yusee-tour-media-upload-only [data-yusee-media-status].is-error,body.page-id-738 .yusee-tour-gallery-upload-only [data-yusee-gallery-status].is-error{color:#b42318!important} body.page-id-738 .yusee-tour-media-upload-only [data-yusee-media-status].is-ok,body.page-id-738 .yusee-tour-gallery-upload-only [data-yusee-gallery-status].is-ok{color:#027a48!important} body.page-id-738 .yusee-tour-form-section{background:#fbfdff!important} body.page-id-738 .yusee-tour-form-section:nth-of-type(1){background:#f8fbff!important} body.page-id-738 .yusee-tour-form-section:nth-of-type(2){background:#fffaf4!important} body.page-id-738 .yusee-tour-form-section:nth-of-type(3){background:#f8fdf9!important} body.page-id-738 .yusee-tour-form-section:nth-of-type(4){background:#fbf8ff!important} body.page-id-738 .yusee-tour-form-section .yusee-tour-section-head{background:rgba(255,255,255,.72)!important;border-radius:14px 14px 0 0!important} body.page-id-738 .yusee-tour-repeat-card{background:rgba(255,255,255,.84)!important} body.page-id-738 .yusee-tour-gallery-preview:before{content:"Cover = first uploaded image"!important} /* package add-row button inset */ body.page-id-738 .yusee-tour-modal [data-yusee-repeat-wrap]>.yusee-tour-actions, body.page-id-738 .yusee-tour-modal [data-yusee-repeat-wrap]>button[data-yusee-add-row], body.page-id-738 .yusee-tour-modal [data-yusee-add-row].yusee-tour-btn{margin-left:20px!important;margin-bottom:18px!important;margin-top:8px!important} body.page-id-738 .yusee-tour-modal [data-yusee-repeat-wrap]>.yusee-tour-actions [data-yusee-add-row]{margin-left:0!important;margin-bottom:0!important;margin-top:0!important} body.page-id-738 .yusee-tour-modal [data-yusee-repeat-wrap]{padding-bottom:18px!important} @media(max-width:767px){body.page-id-738 .yusee-tour-modal [data-yusee-repeat-wrap]>.yusee-tour-actions,body.page-id-738 .yusee-tour-modal [data-yusee-repeat-wrap]>button[data-yusee-add-row],body.page-id-738 .yusee-tour-modal [data-yusee-add-row].yusee-tour-btn{margin-left:16px!important;margin-bottom:16px!important}} /* keep WP media uploader above package modal */ body.page-id-738 .media-modal{z-index:1000003!important;position:fixed!important} body.page-id-738 .media-modal-backdrop{z-index:1000002!important;position:fixed!important} body.page-id-738 .media-modal-content{z-index:auto!important} /* remove all left accent rails */ body.page-id-738 .yusee-tour-modal .yusee-tour-form-section, body.page-id-738 .yusee-tour-modal [data-yusee-repeat-card], body.page-id-738 .yusee-tour-modal .yusee-tour-panel, body.page-id-738 .yusee-tour-modal .yusee-tour-card, body.page-id-738 .yusee-tour-modal .yusee-tour-option, body.page-id-738 .yusee-tour-modal .yusee-tour-mini{border-left:1px solid #d8dee7!important;box-shadow:0 10px 28px rgba(15,23,42,.06)!important;background-image:none!important} body.page-id-738 .yusee-tour-modal .yusee-tour-form-section::before, body.page-id-738 .yusee-tour-modal .yusee-tour-form-section::after, body.page-id-738 .yusee-tour-modal .yusee-tour-panel::before, body.page-id-738 .yusee-tour-modal .yusee-tour-panel::after, body.page-id-738 .yusee-tour-modal .yusee-tour-card::before, body.page-id-738 .yusee-tour-modal .yusee-tour-card::after, body.page-id-738 .yusee-tour-modal .yusee-tour-option::before, body.page-id-738 .yusee-tour-modal .yusee-tour-option::after, body.page-id-738 .yusee-tour-modal .yusee-tour-mini::before, body.page-id-738 .yusee-tour-modal .yusee-tour-mini::after{display:none!important;content:none!important;width:0!important;border:0!important;background:none!important} body.page-id-738 .yusee-tour-modal .yusee-tour-form-section{outline:0!important} /* remove left repeat index rail */ body.page-id-738 .yusee-tour-modal [data-yusee-repeat-index], body.page-id-738 .yusee-tour-modal .yusee-tour-repeat-index, body.page-id-738 .yusee-tour-modal .yusee-tour-repeat-badge{display:none!important} body.page-id-738 .yusee-tour-modal [data-yusee-repeat-card]::before, body.page-id-738 .yusee-tour-modal [data-yusee-repeat-card]::after, body.page-id-738 .yusee-tour-modal [data-yusee-repeat-wrap]::before, body.page-id-738 .yusee-tour-modal [data-yusee-repeat-wrap]::after{display:none!important;content:none!important;border:0!important;background:none!important} body.page-id-738 .yusee-tour-modal [data-yusee-repeat-wrap]{padding-left:20px!important;margin-left:0!important;border-left:0!important;background-image:none!important} body.page-id-738 .yusee-tour-modal [data-yusee-repeat-card]{padding-left:18px!important;margin-left:0!important;border-left:1px solid #dfe5ec!important;background-image:none!important} @media(max-width:767px){body.page-id-738 .yusee-tour-modal [data-yusee-repeat-wrap]{padding-left:16px!important}body.page-id-738 .yusee-tour-modal [data-yusee-repeat-card]{padding-left:14px!important}} /* edit package form hierarchy polish */ body.page-id-738 .yusee-tour-modal .yusee-tour-form{display:grid!important;gap:22px!important} body.page-id-738 .yusee-tour-modal .yusee-tour-form-section{border:1px solid #d8dee7!important;border-radius:20px!important;box-shadow:0 10px 28px rgba(15,23,42,.06)!important;overflow:hidden!important;padding:0!important;margin:0!important} body.page-id-738 .yusee-tour-modal .yusee-tour-form-section>.yusee-tour-section-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;margin:0!important;padding:18px 20px!important;border-bottom:1px solid #e3e8ef!important;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(246,248,252,.92))!important} body.page-id-738 .yusee-tour-modal .yusee-tour-form-section>.yusee-tour-section-head h4{margin:0!important;font-size:15px!important;line-height:1.25!important;font-weight:900!important;letter-spacing:.02em!important;text-transform:uppercase!important;color:#181C20!important} body.page-id-738 .yusee-tour-modal .yusee-tour-form-section>.yusee-tour-section-head p{margin:6px 0 0!important;color:#667085!important;font-size:13px!important;line-height:1.45!important} body.page-id-738 .yusee-tour-modal .yusee-tour-form-section>.row, body.page-id-738 .yusee-tour-modal .yusee-tour-form-section>.row-3, body.page-id-738 .yusee-tour-modal .yusee-tour-form-section>[data-yusee-repeat-wrap], body.page-id-738 .yusee-tour-modal .yusee-tour-form-section>.block{padding:20px!important;margin:0!important} body.page-id-738 .yusee-tour-modal .yusee-tour-form-section>.row+.row, body.page-id-738 .yusee-tour-modal .yusee-tour-form-section>.block+.block, body.page-id-738 .yusee-tour-modal .yusee-tour-form-section>[data-yusee-repeat-wrap]+[data-yusee-repeat-wrap]{border-top:1px solid rgba(216,222,231,.72)!important} body.page-id-738 .yusee-tour-modal [data-yusee-repeat-card]{border:1px solid #dfe5ec!important;border-radius:18px!important;background:#fff!important;box-shadow:0 3px 12px rgba(15,23,42,.045)!important;padding:18px!important;margin:0 0 14px!important;position:relative!important} body.page-id-738 .yusee-tour-modal [data-yusee-repeat-card]:last-child{margin-bottom:0!important} body.page-id-738 .yusee-tour-modal [data-yusee-repeat-card]>.yusee-tour-section-head{margin:-18px -18px 16px!important;padding:13px 16px!important;border-bottom:1px solid #edf0f4!important;background:#f8fafc!important;border-radius:18px 18px 0 0!important} body.page-id-738 .yusee-tour-modal [data-yusee-repeat-card] [data-yusee-repeat-title]{font-size:13px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.035em!important;color:#344054!important} body.page-id-738 .yusee-tour-modal .block{background:rgba(255,255,255,.55)!important;border-radius:14px!important;padding:0!important} body.page-id-738 .yusee-tour-modal .row .block,body.page-id-738 .yusee-tour-modal .row-3 .block{margin-bottom:0!important} body.page-id-738 .yusee-tour-modal .yusee-tour-form label{display:flex!important;align-items:center!important;gap:7px!important;margin-bottom:8px!important;color:#344054!important;font-size:12px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.045em!important} body.page-id-738 .yusee-tour-modal .yusee-tour-form input, body.page-id-738 .yusee-tour-modal .yusee-tour-form textarea, body.page-id-738 .yusee-tour-modal .yusee-tour-form select{background:#fff!important;border:1px solid #cfd7e2!important;border-radius:12px!important;box-shadow:0 1px 0 rgba(15,23,42,.02)!important} body.page-id-738 .yusee-tour-modal .yusee-tour-form textarea{min-height:150px!important;line-height:1.55!important} body.page-id-738 .yusee-tour-modal .yusee-tour-media-field,body.page-id-738 .yusee-tour-modal .yusee-tour-gallery-field{background:#fff!important;border:1px dashed #c9d3df!important;border-radius:16px!important;padding:16px!important} body.page-id-738 .yusee-tour-modal .yusee-tour-rich-tools{background:#fff!important;border:1px solid #e4e8ef!important;border-radius:12px!important;padding:8px!important;margin-bottom:10px!important} body.page-id-738 .yusee-tour-modal .yusee-tour-form .yusee-tour-actions{border-top:1px solid #dfe5ec!important;box-shadow:0 -8px 22px rgba(15,23,42,.045)!important} @media(max-width:767px){body.page-id-738 .yusee-tour-modal .yusee-tour-form{gap:16px!important}body.page-id-738 .yusee-tour-modal .yusee-tour-form-section>.row,body.page-id-738 .yusee-tour-modal .yusee-tour-form-section>.row-3,body.page-id-738 .yusee-tour-modal .yusee-tour-form-section>[data-yusee-repeat-wrap],body.page-id-738 .yusee-tour-modal .yusee-tour-form-section>.block{padding:16px!important}body.page-id-738 .yusee-tour-modal [data-yusee-repeat-card]{padding:14px!important}} /* package card date badge now category */ body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-package-title-group .yusee-tour-chip{display:none!important} body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-updated{text-transform:none!important;letter-spacing:0!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-order-arrows[data-saving="1"]{opacity:.65!important;pointer-events:none!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-order-arrows[data-saving="1"]:after{content:""!important;width:6px!important;height:6px!important;border-radius:999px!important;background:#181C20!important;margin-right:8px!important;animation:yuseePulse .8s infinite alternate!important} @keyframes yuseePulse{from{opacity:.35}to{opacity:1}} /* category arrows compact final */ body.page-id-738 .yusee-tour-category-card .yusee-tour-card-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;border-top:1px solid #eef1f4!important;padding-top:14px!important;margin-top:12px!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left{display:flex!important;align-items:center!important;gap:8px!important;width:auto!important;flex:0 1 auto!important;min-width:0!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-right{display:flex!important;align-items:center!important;justify-content:flex-end!important;width:auto!important;margin-left:auto!important;flex:0 0 auto!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-order-arrows{display:inline-flex!important;align-items:center!important;gap:0!important;height:36px!important;border:1px solid #d7dce2!important;border-radius:12px!important;background:#fff!important;overflow:hidden!important;box-shadow:none!important;flex:0 0 auto!important;order:0!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-arrow-btn{all:unset!important;display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;background:#fff!important;color:#181C20!important;font-size:15px!important;font-weight:900!important;line-height:1!important;cursor:pointer!important;box-sizing:border-box!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-arrow-btn:hover{background:#f6f8fc!important;color:#181C20!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-arrow-sep{display:block!important;width:1px!important;height:18px!important;background:#e4e7ec!important;flex:0 0 1px!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-left>.yusee-tour-btn{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;border-radius:12px!important;flex:0 0 36px!important} body.page-id-738 .yusee-tour-category-card .yusee-tour-action-right .yusee-tour-btn{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;border-radius:12px!important;flex:0 0 36px!important} @media(max-width:640px){body.page-id-738 .yusee-tour-category-card .yusee-tour-card-actions{display:flex!important;grid-template-columns:none!important}body.page-id-738 .yusee-tour-category-card .yusee-tour-order-arrows{height:36px!important}body.page-id-738 .yusee-tour-category-card .yusee-tour-arrow-btn{width:36px!important;height:36px!important}} .yusee-tour-view-compact .yusee-tour-admin-list{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.yusee-tour-view-compact .yusee-tour-mini{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;min-height:96px!important;border-radius:13px!important;overflow:hidden!important}.yusee-tour-view-compact .yusee-tour-card-img{height:96px!important;min-height:96px!important;width:96px!important}.yusee-tour-view-compact .yusee-tour-card-img img{width:96px!important;height:96px!important;object-fit:cover!important}.yusee-tour-view-compact .yusee-tour-card-pad{padding:10px 12px!important;min-height:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 10px!important;align-content:center!important}.yusee-tour-view-compact .yusee-tour-package-head{grid-column:1/-1!important;display:flex!important;align-items:flex-start!important;gap:10px!important}.yusee-tour-view-compact .yusee-tour-package-title-group{min-width:0!important;flex:1!important}.yusee-tour-view-compact .yusee-tour-title{font-size:15px!important;line-height:1.22!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.yusee-tour-view-compact .yusee-tour-chip,.yusee-tour-view-compact .yusee-tour-updated{font-size:10px!important;padding:3px 7px!important}.yusee-tour-view-compact .yusee-tour-meta-pills{grid-column:1!important;margin:0!important;gap:5px!important}.yusee-tour-view-compact .yusee-tour-pill{font-size:10px!important;padding:3px 6px!important}.yusee-tour-view-compact .yusee-tour-card-actions{grid-column:2!important;grid-row:2!important;margin:0!important;padding:0!important;border:0!important;align-self:end!important;display:flex!important;gap:6px!important}.yusee-tour-view-compact .yusee-tour-action-left,.yusee-tour-view-compact .yusee-tour-action-right{display:flex!important;gap:6px!important;flex-wrap:nowrap!important;width:auto!important}.yusee-tour-view-compact .yusee-tour-danger-zone{width:auto!important;margin-left:0!important}.yusee-tour-view-compact .yusee-tour-btn{min-height:30px!important;height:30px!important;padding:6px 9px!important;font-size:11px!important;border-radius:8px!important}.yusee-tour-view-compact .yusee-tour-row-check{top:8px!important;left:8px!important}.yusee-tour-view-compact .yusee-tour-card-img:before{font-size:11px!important}@media(max-width:640px){.yusee-tour-view-compact .yusee-tour-mini{grid-template-columns:82px minmax(0,1fr)!important;min-height:88px!important}.yusee-tour-view-compact .yusee-tour-card-img,.yusee-tour-view-compact .yusee-tour-card-img img{width:82px!important;height:88px!important;min-height:88px!important}.yusee-tour-view-compact .yusee-tour-card-pad{padding:9px 10px!important;grid-template-columns:1fr!important}.yusee-tour-view-compact .yusee-tour-card-actions{grid-column:1!important;grid-row:auto!important;justify-self:stretch!important;display:grid!important;grid-template-columns:1fr auto!important}.yusee-tour-view-compact .yusee-tour-title{font-size:14px!important}.yusee-tour-view-compact .yusee-tour-meta-pills{display:none!important}}body.page-id-738 .yusee-tour-view-compact .yusee-tour-admin-list,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"]{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card],body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card],body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-mini[data-yusee-package-card]{width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;min-height:104px!important;border-radius:14px!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-img,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-card-img,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-card-img{width:104px!important;height:104px!important;min-height:104px!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-img img,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-card-img img,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-card-img img{width:104px!important;height:104px!important;object-fit:cover!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-pad,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-card-pad,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-card-pad{padding:10px 14px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-content:center!important;gap:6px 12px!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-actions,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-card-actions,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-card-actions{grid-column:2!important;grid-row:1/3!important;margin:0!important;align-self:center!important;justify-self:end!important;display:flex!important;flex-wrap:nowrap!important;gap:6px!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-title,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-title,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-title{font-size:16px!important;line-height:1.25!important;margin:0!important;max-width:720px!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-meta-pills,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-meta-pills,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-meta-pills{margin:0!important}body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-top{display:inline-flex!important;width:max-content!important;margin:0 0 8px!important;font-size:11px!important;line-height:1!important;padding:5px 9px!important;border-radius:999px!important;background:#eef6ff!important;border:1px solid #d7ebfb!important;color:#006194!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.03em!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-top,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-top,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-top{margin:0 0 9px!important;min-width:84px!important;min-height:28px!important;justify-content:center!important;background:#fff!important;border:1px solid #d9dde2!important;color:#181C20!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card],body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card],body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-mini[data-yusee-package-card]{align-items:stretch!important;grid-auto-rows:1fr!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-img,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-card-img,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-card-img{align-self:stretch!important;height:100%!important;min-height:100%!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-img img,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-card-img img,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-card-img img{height:100%!important;min-height:100%!important;object-fit:cover!important}body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-top,body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-top,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-top,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-top{display:inline-flex!important;width:auto!important;min-width:0!important;min-height:0!important;justify-content:flex-start!important;margin:0 0 8px!important;padding:4px 9px!important;border-radius:999px!important;background:#eaf6ff!important;border:0!important;color:#006194!important;font-size:11px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.04em!important;line-height:1!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-pad,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-card-pad,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-card-pad{align-content:start!important;align-items:start!important;padding-top:12px!important;padding-bottom:10px!important;grid-template-rows:auto auto 1fr!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-package-head,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-package-head,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-package-head{grid-column:1!important;grid-row:1!important;align-self:start!important;margin:0!important;padding:0!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-card-actions,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-card-actions,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-card-actions{grid-column:2!important;grid-row:1!important;align-self:start!important;justify-self:end!important;margin:0!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-meta-pills,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-meta-pills,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-meta-pills{grid-column:1!important;grid-row:2!important;align-self:start!important;margin-top:8px!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-title,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-title,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-title{margin-top:0!important}body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-grid{display:inline-flex!important}body.page-id-738 .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-top{display:none!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-grid,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-grid,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-grid{display:none!important}body.page-id-738 .yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-top,body.page-id-738 .yusee-tour-admin-list.yusee-tour-view-compact .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-top,body.page-id-738 .yusee-tour-admin-list[data-yusee-view="compact"] .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-top{display:inline-flex!important}body.page-id-738 .yusee-tour-admin-list:not(.yusee-tour-view-compact):not([data-yusee-view="compact"]) .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-grid{display:inline-flex!important;visibility:visible!important;opacity:1!important;position:static!important;width:auto!important;height:auto!important;margin:0 0 10px!important;padding:4px 9px!important;border-radius:999px!important;background:#eaf6ff!important;color:#006194!important;font-size:11px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.04em!important;line-height:1!important}body.page-id-738 .yusee-tour-wrap:not(.yusee-tour-view-compact) .yusee-tour-admin-list:not([data-yusee-view="compact"]) .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-grid{display:inline-flex!important;visibility:visible!important;opacity:1!important}body.page-id-738 .yusee-tour-wrap:not(.yusee-tour-view-compact) .yusee-tour-admin-list:not([data-yusee-view="compact"]) .yusee-tour-mini[data-yusee-package-card] .yusee-tour-category-top{display:none!important}'; } private function admin_js() { return <<<'JS' (function($){ function esc(s){ return $('
').text(s || '').html(); } function yuseeAdminAjaxUrl(){ return (window.yuseeTourAdmin && window.yuseeTourAdmin.ajaxUrl) || '/wp-admin/admin-ajax.php'; } function yuseeActionNonce(){ return $('input[name="yusee_tour_nonce"]').first().val() || ''; } function setFieldNote($el, text, isError){ if(!$el || !$el.length) return; $el.text(text || ''); $el.toggleClass('is-error', !!isError); $el.toggleClass('is-ok', !!text && !isError); } function render($field){ var url = $field.find('[data-yusee-media-input]').val(); var $preview = $field.find('[data-yusee-media-preview]'); var $manual = $field.find('[data-yusee-media-manual]'); if($manual.length && $manual.val() !== url){ $manual.val(url || ''); } if(url){ $preview.html('Preview'); } else { $preview.empty(); } } function yuseeUploadFiles(files, done, $status){ if(!files || !files.length) return; var formData = new FormData(); formData.append('action', 'yusee_tour_upload_media'); formData.append('yusee_tour_nonce', yuseeActionNonce()); $.each(files, function(_, file){ formData.append('files[]', file); }); setFieldNote($status, files.length > 1 ? 'Uploading images...' : 'Uploading image...', false); $.ajax({ url: yuseeAdminAjaxUrl(), type: 'POST', data: formData, processData: false, contentType: false, dataType: 'json' }).done(function(resp){ var payload = resp && resp.data ? resp.data : {}; if(resp && resp.success && payload.files && payload.files.length){ done(payload.files); setFieldNote($status, payload.files.length > 1 ? (payload.files.length + ' images uploaded.') : 'Image uploaded.', false); return; } setFieldNote($status, payload.message || 'Upload gagal. Coba lagi.', true); }).fail(function(xhr){ var message = 'Upload gagal. Coba lagi.'; if(xhr && xhr.responseJSON && xhr.responseJSON.data && xhr.responseJSON.data.message){ message = xhr.responseJSON.data.message; } setFieldNote($status, message, true); }); } $(document).on('click','[data-yusee-media-open]',function(e){ e.preventDefault(); $(this).closest('[data-yusee-media-field]').find('[data-yusee-media-file]').trigger('click'); }); $(document).on('change','[data-yusee-media-file]',function(){ var files = Array.prototype.slice.call(this.files || []); var $field = $(this).closest('[data-yusee-media-field]'); var input = this; if(!files.length) return; yuseeUploadFiles(files.slice(0,1), function(uploaded){ var url = uploaded[0] && uploaded[0].url ? uploaded[0].url : ''; $field.find('[data-yusee-media-input]').val(url).trigger('change'); render($field); }, $field.find('[data-yusee-media-status]')); input.value=''; }); $(document).on('click','[data-yusee-media-library]',function(e){ e.preventDefault(); if(!window.wp || !wp.media){ alert('Media uploader belum siap. Refresh halaman lalu coba lagi.'); return; } var $field = $(this).closest('[data-yusee-media-field]'); var $input = $field.find('[data-yusee-media-input]'); var frame = wp.media({ title:'Pilih / Upload Gambar', button:{text:'Gunakan gambar'}, library:{type:'image'}, multiple:false }); frame.on('select', function(){ var file = frame.state().get('selection').first().toJSON(); $input.val(file.url || '').trigger('change'); render($field); setFieldNote($field.find('[data-yusee-media-status]'), 'Image selected from Media Library.', false); }); frame.open(); setTimeout(function(){ var opened=$('.media-modal:visible').length>0; $('body').toggleClass('yusee-media-opened', opened); if(!opened){ alert('Media modal gagal terbuka. Coba refresh halaman.'); } },450); }); $(document).on('input change','[data-yusee-media-manual]',function(){ var $field = $(this).closest('[data-yusee-media-field]'); var value = $(this).val(); $field.find('[data-yusee-media-input]').val(value).trigger('change'); render($field); if(value){ setFieldNote($field.find('[data-yusee-media-status]'), 'Image URL siap dipakai.', false); } }); $(document).on('input change','[data-yusee-media-input]',function(){ render($(this).closest('[data-yusee-media-field]')); }); $(document).on('click','[data-yusee-gallery-pick]',function(e){ e.preventDefault(); $(this).closest('[data-yusee-gallery-field]').find('[data-yusee-gallery-file]').trigger('click'); }); $(document).on('change','[data-yusee-gallery-file]',function(){ var files = Array.prototype.slice.call(this.files || []); var $f=$(this).closest('[data-yusee-gallery-field]'); var input=this; if(!files.length) return; yuseeUploadFiles(files, function(uploaded){ var urls=yuseeGalleryUrls($f); uploaded.forEach(function(file){ if(file.url && urls.indexOf(file.url)===-1) urls.push(file.url); }); yuseeSetGalleryUrls($f,urls); yuseeRenderGallery($f); }, $f.find('[data-yusee-gallery-status]')); input.value=''; }); $(document).on('click','[data-yusee-gallery-library]',function(e){ e.preventDefault(); if(!window.wp || !wp.media){ alert('Media uploader belum siap. Refresh halaman lalu coba lagi.'); return; } var $f=$(this).closest('[data-yusee-gallery-field]'); var frame=wp.media({ title:'Upload Images', button:{text:'Use Images'}, library:{type:'image'}, multiple:true }); frame.on('select',function(){ var urls=yuseeGalleryUrls($f); frame.state().get('selection').each(function(file){ file=file.toJSON(); if(file.url && urls.indexOf(file.url)===-1) urls.push(file.url); }); yuseeSetGalleryUrls($f,urls); yuseeRenderGallery($f); setFieldNote($f.find('[data-yusee-gallery-status]'), 'Images selected from Media Library.', false); }); frame.open(); setTimeout(function(){ var opened=$('.media-modal:visible').length>0; $('body').toggleClass('yusee-media-opened', opened); if(!opened){ alert('Media modal gagal terbuka. Coba refresh halaman.'); } },450); }); function updatePackageList(){ var $wrap = $('[data-yusee-package-list-wrap]'); if(!$wrap.length) return; var q = String($('[data-yusee-search="package"]').val() || '').toLowerCase(); var cat = String($('[data-yusee-package-filter]').val() || ''); var sort = String($('[data-yusee-package-sort]').val() || 'newest'); var $cards = $('[data-yusee-package-card]'); $cards.each(function(){ var $card = $(this); var hay = String($card.data('search') || '').toLowerCase(); var cats = String($card.data('cats') || ''); var ok = (!q || hay.indexOf(q) !== -1) && (!cat || cats.split(',').indexOf(cat) !== -1); $card.toggleClass('yusee-tour-hidden', !ok); }); var sorted = $cards.get().sort(function(a,b){ if(sort === 'az') return String($(a).data('title')).localeCompare(String($(b).data('title'))); if(sort === 'za') return String($(b).data('title')).localeCompare(String($(a).data('title'))); return Number($(b).data('modified')||0) - Number($(a).data('modified')||0); }); $.each(sorted,function(_,el){ $wrap.find('.yusee-tour-admin-list').append(el); }); var visible = $cards.not('.yusee-tour-hidden').length; $('[data-yusee-package-count]').text(visible + ' ' + (visible === 1 ? 'Package' : 'Packages')); $('[data-yusee-package-empty]').toggleClass('show', visible === 0); } $(document).on('input', '[data-yusee-search]', function(){ var type = $(this).data('yusee-search'); if(type === 'package'){ updatePackageList(); return; } var keyword = String($(this).val() || '').toLowerCase(); $('[data-yusee-category-card]').each(function(){ var haystack = String($(this).data('search') || '').toLowerCase(); $(this).toggle(haystack.indexOf(keyword) !== -1); }); }); $(document).on('change','[data-yusee-package-filter],[data-yusee-package-sort]', updatePackageList); $(document).on('click','[data-yusee-package-clear]',function(e){e.preventDefault(); $('[data-yusee-search="package"]').val(''); $('[data-yusee-package-filter]').val(''); $('[data-yusee-package-sort]').val('newest'); updatePackageList();}); $(document).on('click','[data-yusee-package-view]',function(e){ e.preventDefault(); var mode = $(this).data('yusee-package-view'); $('[data-yusee-package-list-wrap]').toggleClass('yusee-tour-view-compact', mode === 'compact'); $('[data-yusee-package-view]').removeClass('active'); $(this).addClass('active'); }); function renumberRows($wrap){ $wrap.find('[data-yusee-repeat-card]').each(function(i){ $(this).find('[data-yusee-repeat-index]').text(i+1); var label = $(this).data('repeatLabel') || 'Item'; $(this).find('[data-yusee-repeat-title]').text(label + ' ' + (i+1)); }); } function clearRow($row){ $row.find('input[type=text],input[type=url],textarea').val(''); $row.find('input[type=hidden][data-yusee-media-input]').val(''); $row.find('select').prop('selectedIndex',0); $row.find('[data-yusee-media-status],[data-yusee-gallery-status]').removeClass('is-error is-ok').text(''); $row.find('[data-yusee-media-preview],[data-yusee-gallery-preview]').empty(); } $(document).on('click','[data-yusee-add-row]',function(e){ e.preventDefault(); var target = $(this).data('yusee-add-row'); var $wrap = $('[data-yusee-repeat-wrap="'+target+'"]'); var rawMax = Number($wrap.data('max')); var max = (rawMax > 0) ? rawMax : Infinity; var $cards = $wrap.find('[data-yusee-repeat-card]'); if($cards.length >= max) return; var $clone = $cards.last().clone(false,false); clearRow($clone); $clone.removeClass('is-empty'); $cards.last().after($clone); renumberRows($wrap); }); $(document).on('click','[data-yusee-remove-row]',function(e){ e.preventDefault(); var $wrap = $(this).closest('[data-yusee-repeat-wrap]'); var min = Number($wrap.data('min') || 1); var $cards = $wrap.find('[data-yusee-repeat-card]'); if($cards.length <= min){ clearRow($cards.first()); return; } $(this).closest('[data-yusee-repeat-card]').addClass('removing').remove(); renumberRows($wrap); }); function yuseeSyncSectionModes(){ $('[data-yusee-section-mode]').each(function(){ var show=$(this).val()==='list'; $(this).closest('.row').find('[data-yusee-icon-block]').toggle(show); }); } $(document).on('change','[data-yusee-section-mode]',yuseeSyncSectionModes); $(yuseeSyncSectionModes); $(document).on('click','.yusee-tour-product-option',function(){ var $o=$(this); $o.addClass('is-selected').siblings('.yusee-tour-product-option').removeClass('is-selected'); var price=$o.attr('data-yusee-option-price')||$o.find('.yusee-tour-option-price').first().text()||'Contact us'; $('[data-yusee-booking-price]').text(price); $('[data-yusee-booking-label]').text($o.attr('data-yusee-option-label')||'Selected package'); }); $(document).on('click','[data-yusee-toggle-block]',function(){ var $b=$(this), $block=$b.closest('.yusee-tour-product-block'); $block.toggleClass('is-open is-collapsed'); $b.text($block.hasClass('is-open')?'Hide':'Show'); }); $(document).on('click','.yusee-tour-product-nav a',function(e){ var id=$(this).attr('href'); if(id&&id.charAt(0)==='#'&&$(id).length){ e.preventDefault(); $('html,body').animate({scrollTop:$(id).offset().top-90},350); } }); $(document).on('click','[data-yusee-gallery-thumb]',function(){ var $b=$(this); var src=$b.attr('data-yusee-gallery-thumb'); $b.addClass('active').siblings().removeClass('active'); $b.closest('.yusee-tour-product-gallery').find('.yusee-tour-product-main-img').attr('src',src); }); function yuseeGalleryUrls($field){ return String($field.find('[data-yusee-gallery-input]').val()||'').replace(/\\n/g,'\n').split(/\r?\n/).map(function(x){return x.trim();}).filter(Boolean); } function yuseeSetGalleryUrls($field,urls){ $field.find('[data-yusee-gallery-input]').val(urls.join('\n')).trigger('input').trigger('change'); } function yuseeRenderGallery($field){ var urls=yuseeGalleryUrls($field); var html=urls.map(function(u,i){ var safe=u.replace(/"/g,'"'); return ''; }).join(''); $field.find('[data-yusee-gallery-preview]').html(html); } $(document).on('input','[data-yusee-gallery-input]',function(){ yuseeRenderGallery($(this).closest('[data-yusee-gallery-field]')); }); $(document).on('click','[data-yusee-gallery-remove]',function(e){ e.preventDefault(); var $f=$(this).closest('[data-yusee-gallery-field]'), idx=Number($(this).data('yusee-gallery-remove')); var urls=yuseeGalleryUrls($f); if(idx>=0) urls.splice(idx,1); yuseeSetGalleryUrls($f,urls); yuseeRenderGallery($f); }); $(function(){ $('[data-yusee-gallery-field]').each(function(){ yuseeRenderGallery($(this)); }); }); var yuseeDragUrl=null; $(document).on('dragstart','[data-yusee-gallery-url]',function(e){ yuseeDragUrl=$(this).data('yusee-gallery-url'); this.classList.add('is-dragging'); }); $(document).on('dragend','[data-yusee-gallery-url]',function(){ this.classList.remove('is-dragging'); yuseeDragUrl=null; }); $(document).on('dragover','[data-yusee-gallery-url]',function(e){ e.preventDefault(); }); $(document).on('drop','[data-yusee-gallery-url]',function(e){ e.preventDefault(); if(!yuseeDragUrl) return; var target=$(this).data('yusee-gallery-url'); if(target===yuseeDragUrl) return; var $field=$(this).closest('[data-yusee-gallery-field]'); var urls=String($field.find('[data-yusee-gallery-input]').val()||'').replace(/\\n/g,'\n').split(/\r?\n/).map(function(x){return x.trim();}).filter(Boolean); var from=urls.indexOf(yuseeDragUrl), to=urls.indexOf(target); if(from<0||to<0) return; var moved=urls.splice(from,1)[0]; urls.splice(to,0,moved); $field.find('[data-yusee-gallery-input]').val(urls.join('\n')).trigger('input').trigger('change'); }); $(document).on('click','[data-yusee-wrap],[data-yusee-prefix]',function(){ var $ta=$(this).closest('.block').find('[data-yusee-rich-editor]'); var ta=$ta.get(0); if(!ta) return; var start=ta.selectionStart||0,end=ta.selectionEnd||0,val=ta.value,sel=val.substring(start,end); if($(this).data('yusee-wrap')){ var w=$(this).data('yusee-wrap'); ta.value=val.substring(0,start)+w+sel+w+val.substring(end); ta.selectionStart=start+w.length; ta.selectionEnd=end+w.length; } else { var pre=$(this).data('yusee-prefix'); ta.value=val.substring(0,start)+pre+sel+val.substring(end); ta.selectionStart=ta.selectionEnd=start+pre.length+sel.length; } $ta.trigger('input').trigger('change'); ta.focus(); }); function yuseePlaceCategoryControls(){ $('[data-yusee-category-card]').each(function(){ var $card=$(this), $left=$card.find('.yusee-tour-action-left').first(); if(!$left.length) return; $card.find('.yusee-tour-row-check,.yusee-tour-order-arrows').prependTo($left); }); } $(yuseePlaceCategoryControls); function yuseeUpdateCategoryOrder(){ var ids=[]; $('[data-yusee-category-sortable] [data-yusee-category-id]:visible').each(function(){ ids.push($(this).data('yusee-category-id')); }); $('[data-yusee-category-order]').val(ids.join(',')); } var yuseeCategoryOrderDirty=false, yuseeCategoryOrderSaving=false; function yuseeCategoryOrderPayload(){ yuseeUpdateCategoryOrder(); var nonce=$('input[name="yusee_tour_nonce"]').first().val()||''; var order=$('[data-yusee-category-order]').val()||''; var params=new URLSearchParams(); params.set('yusee_tour_nonce',nonce); params.set('yusee_tour_action','save_category_order'); params.set('category_order',order); return params; } function yuseeAutoSaveCategoryOrder(sync){ if(!$('[data-yusee-category-sortable]').length) return Promise.resolve(false); var params=yuseeCategoryOrderPayload(), action=window.location.pathname; yuseeCategoryOrderDirty=true; yuseeCategoryOrderSaving=true; if(sync && navigator.sendBeacon){ var blob=new Blob([params.toString()],{type:'application/x-www-form-urlencoded;charset=UTF-8'}); var ok=navigator.sendBeacon(action,blob); if(ok){ yuseeCategoryOrderDirty=false; yuseeCategoryOrderSaving=false; return Promise.resolve(true); } } return fetch(action,{method:'POST',body:params,credentials:'same-origin',keepalive:true,headers:{'Content-Type':'application/x-www-form-urlencoded;charset=UTF-8'}}).then(function(){ yuseeCategoryOrderDirty=false; }).catch(function(){}).finally(function(){ yuseeCategoryOrderSaving=false; }); } $(document).on('click','[data-yusee-cat-move]',function(){ var $btn=$(this), $card=$btn.closest('[data-yusee-category-card]'), dir=$btn.data('yusee-cat-move'); if(!$card.length) return; if(dir==='up'){ var $prev=$card.prevAll('[data-yusee-category-card]:visible').first(); if($prev.length) $card.insertBefore($prev); } if(dir==='down'){ var $next=$card.nextAll('[data-yusee-category-card]:visible').first(); if($next.length) $card.insertAfter($next); } yuseeUpdateCategoryOrder(); $btn.closest('.yusee-tour-order-arrows').attr('data-saving','1'); yuseeAutoSaveCategoryOrder(false).then(function(){ $btn.closest('.yusee-tour-order-arrows').removeAttr('data-saving'); }); }); window.addEventListener('pagehide',function(){ if(yuseeCategoryOrderDirty || yuseeCategoryOrderSaving) yuseeAutoSaveCategoryOrder(true); }); window.addEventListener('beforeunload',function(){ if(yuseeCategoryOrderDirty || yuseeCategoryOrderSaving) yuseeAutoSaveCategoryOrder(true); }); function yuseeIconizeAdminButtons(){ var map={ 'Edit':'✎','Hapus':'×','Delete':'×','Duplicate':'⧉','Publish':'↑','Draft':'↓','Lihat':'⌕','View':'⌕','Apply':'✓','Search':'⌕','Grid':'▦','Compact':'☰','Save Order':'✓','+ Tambah Kategori':'+','+ Tambah Paket':'+','Save Category':'✓','Update Category':'✓','Save Package':'✓','Update Package':'✓','Cancel':'←','Select Images':'▧','Clear':'×','Bold':'B','List':'•','Subheading':'H' }; $('.page-id-738 .yusee-tour-btn').each(function(){ var $b=$(this), txt=$.trim($b.text()).replace(/\s+/g,' '); if($b.attr('aria-label')==='Add Category'||$b.attr('aria-label')==='Add Package') return; if(!txt||$b.attr('data-yusee-iconized')) return; var icon=map[txt]||''; if(!icon && (txt.indexOf('Tambah')>=0 || txt.indexOf('Add')>=0 || ($b.attr('href')||'').indexOf('add_')>=0)) icon='+'; if(!icon) return; $b.attr('aria-label',txt).attr('title',txt).attr('data-yusee-iconized','1').attr('data-yusee-btn-text',txt).html(''); }); } $(yuseeIconizeAdminButtons); function yuseeFixViewIcons(){ $('.page-id-738 .yusee-tour-btn[aria-label="Lihat"],.page-id-738 .yusee-tour-btn[title="Lihat"],.page-id-738 .yusee-tour-btn[data-yusee-btn-text="Lihat"],.page-id-738 .yusee-tour-btn[aria-label="View"],.page-id-738 .yusee-tour-btn[data-yusee-btn-text="View"]').each(function(){ $(this).html(''); }); } $(yuseeFixViewIcons); function yuseePlacePackageAddButton(){ var $add=$('.page-id-738 a.yusee-tour-btn[aria-label="Add Package"]'); var $target=$('.page-id-738 .yusee-tour-controls:has([data-yusee-search="package"]) .yusee-tour-view-row .yusee-tour-action-left').first(); if($add.length && $target.length && !$add.parent().is($target)) $add.appendTo($target); } $(yuseePlacePackageAddButton); $(document).on('click','[data-yusee-add-row]',function(){ setTimeout(yuseeIconizeAdminButtons,20); }); $(document).on('submit','.yusee-tour-order-form',yuseeUpdateCategoryOrder); $(yuseeUpdateCategoryOrder); $(document).on('input','[data-yusee-number-only]',function(){ this.value = String(this.value||'').replace(/\D+/g,''); }); function validateForm($form){ var ok = true; $form.find('.yusee-tour-field-error').remove(); $form.find('.yusee-tour-invalid').removeClass('yusee-tour-invalid'); $form.find('[required]').each(function(){ var $el=$(this); if(!String($el.val()||'').trim()){ ok=false; $el.addClass('yusee-tour-invalid'); $el.after('
Field ini wajib diisi.
'); } }); return ok; } $(document).on('input change','.yusee-tour-form input,.yusee-tour-form textarea,.yusee-tour-form select',function(){ $(this).closest('form').attr('data-dirty','1'); $(this).removeClass('yusee-tour-invalid').next('.yusee-tour-field-error').remove(); }); $(document).on('submit','.yusee-tour-form',function(e){ var $form=$(this); if(!validateForm($form)){ e.preventDefault(); return false; } $form.removeAttr('data-dirty'); $form.find('button[type=submit]').addClass('is-loading').prop('disabled',true).text('Saving...'); }); $(document).on('click','.yusee-tour-modal-close,.yusee-tour-modal .yusee-tour-actions a',function(e){ var dirty=$(this).closest('.yusee-tour-modal').find('form[data-dirty="1"]').length; if(dirty && !confirm('Ada perubahan yang belum disimpan. Keluar tanpa menyimpan?')){ e.preventDefault(); return false; } }); $(document).on('change','[data-yusee-check-all]',function(){ var scope=$(this).attr('data-yusee-check-all'); var sel=scope ? '[data-yusee-row-check=\"'+scope+'\"]' : '[data-yusee-row-check]'; $(sel).prop('checked', $(this).prop('checked')); }); function yuseeOpenTripEnhance(){ var $wrap=$('.ot-admin-wrapper'); if(!$wrap.length || $wrap.data('yuseeEnhanced')) return; $wrap.data('yuseeEnhanced',1); var $box=$wrap.find('.list-box').first(), $table=$box.find('table').first(); if(!$table.length) return; $box.find('.ot-box-header').after('
Tidak ada trip yang cocok.
'); $table.find('tbody tr').each(function(){ var text=$(this).text().toLowerCase(); $(this).attr('data-yusee-ot-searchable', text); }); function refresh(){ var q=String($('[data-yusee-ot-search]').val()||'').toLowerCase(); var n=0; $table.find('tbody tr').each(function(){ var show=!q || String($(this).attr('data-yusee-ot-searchable')||'').indexOf(q)!==-1; $(this).toggleClass('ot-hidden',!show); if(show)n++; }); $('[data-yusee-ot-count]').text(n+' trip tampil'); $('[data-yusee-ot-empty]').toggleClass('show', n===0); } $(document).on('input','[data-yusee-ot-search]',refresh); refresh(); } $(yuseeOpenTripEnhance); $(document).on('submit','.ot-admin-wrapper form',function(){ var $b=$(this).find('button[type=submit],input[type=submit],.btn-save').first(); $b.addClass('is-loading').prop('disabled',true); if($b.is('button')) $b.text('Saving...'); }); $(function(){ $('[data-yusee-media-field]').each(function(){ render($(this)); }); $('[data-yusee-package-list-wrap]').addClass('yusee-tour-view-compact'); $('[data-yusee-package-view]').removeClass('active'); $('[data-yusee-package-view="compact"]').addClass('active'); updatePackageList(); }); })(jQuery); JS; } private function media_field($name, $value = '') { ob_start(); ?>
has_wp_admin_access()) : ?>
Mode password: bisa upload gambar langsung tanpa login WordPress.
dashboard_password_option_name(), ''); if ($seed === '') $seed = $this->dashboard_default_password(); return wp_hash($seed . '|' . wp_salt('auth')); } private function set_dashboard_access_cookie() { $name = $this->dashboard_access_cookie_name(); $value = $this->dashboard_access_cookie_token(); $expire = time() + (DAY_IN_SECONDS * 30); setcookie($name, $value, $expire, COOKIEPATH ?: '/', COOKIE_DOMAIN ?: '', is_ssl(), true); if (SITECOOKIEPATH && SITECOOKIEPATH !== COOKIEPATH) { setcookie($name, $value, $expire, SITECOOKIEPATH, COOKIE_DOMAIN ?: '', is_ssl(), true); } $_COOKIE[$name] = $value; } private function clear_dashboard_access_cookie() { $name = $this->dashboard_access_cookie_name(); setcookie($name, '', time() - HOUR_IN_SECONDS, COOKIEPATH ?: '/', COOKIE_DOMAIN ?: '', is_ssl(), true); if (SITECOOKIEPATH && SITECOOKIEPATH !== COOKIEPATH) { setcookie($name, '', time() - HOUR_IN_SECONDS, SITECOOKIEPATH, COOKIE_DOMAIN ?: '', is_ssl(), true); } unset($_COOKIE[$name]); } private function has_dashboard_password_access() { $name = $this->dashboard_access_cookie_name(); $value = isset($_COOKIE[$name]) ? sanitize_text_field(wp_unslash($_COOKIE[$name])) : ''; return $value !== '' && hash_equals($this->dashboard_access_cookie_token(), $value); } private function can_manage_dashboard() { return $this->has_wp_admin_access() || $this->has_dashboard_password_access(); } private function verify_dashboard_password($password) { $password = (string) $password; $hash = (string) get_option($this->dashboard_password_option_name(), ''); if ($hash !== '') return wp_check_password($password, $hash); return hash_equals($this->dashboard_default_password(), $password); } private function admin_password_gate_html() { ob_start(); echo '
'; echo '

TWD Dashboard Access

'; echo '

Masuk ke dashboard-admin pakai password TWD Admin yang sudah ada, tanpa login WordPress.

'; echo $this->admin_notice_html(); echo '
'; wp_nonce_field('yusee_tour_action', 'yusee_tour_nonce'); echo ''; echo '
'; echo '
'; echo '
'; echo '
'; return ob_get_clean(); } private function current_admin_tab() { $tab = isset($_GET['tour_admin_tab']) ? sanitize_key($_GET['tour_admin_tab']) : 'categories'; return in_array($tab, ['categories', 'packages', 'open-trip'], true) ? $tab : 'categories'; } private function base_page_url() { return get_permalink(); } private function page_url_by_slug($slug, $fallback = '') { $page = get_page_by_path($slug, OBJECT, 'page'); if ($page) { return get_permalink($page); } return $fallback ?: home_url('/'); } private function category_detail_page_url() { return $this->page_url_by_slug('tour-packages', $this->base_page_url()); } private function package_detail_page_url() { return $this->page_url_by_slug('tour-packages', $this->base_page_url()); } private function icon_symbol($type) { if ($type === 'x') return '✕'; if ($type === 'check') return '✓'; return '•'; } private function parse_lines($text) { $lines = preg_split('/\r\n|\r|\n/', (string) $text); $lines = array_map('trim', $lines); return array_values(array_filter($lines, function($line){ return $line !== ''; })); } private function admin_notice_html() { if (empty($_GET['tour_msg'])) return ''; $msg = sanitize_text_field(wp_unslash($_GET['tour_msg'])); $type = (!empty($_GET['tour_err'])) ? 'err' : 'ok'; return '
' . esc_html($msg) . '
'; } private function redirect_with_msg($msg, $error = false, $extra = []) { $url = add_query_arg(array_merge([ 'tour_msg' => $msg, ], $error ? ['tour_err' => 1] : [], $extra), $this->base_page_url()); wp_safe_redirect($url); exit; } private function current_edit_category() { $raw = isset($_GET['edit_category']) ? sanitize_text_field(wp_unslash($_GET['edit_category'])) : ''; if ($raw === '') return null; if (ctype_digit((string) $raw)) { $term = get_term((int) $raw, self::TAX); } else { $term = get_term_by('slug', sanitize_title($raw), self::TAX); } return ($term && !is_wp_error($term)) ? $term : null; } private function current_edit_package() { $raw = isset($_GET['edit_package']) ? sanitize_text_field(wp_unslash($_GET['edit_package'])) : ''; if ($raw === '') return null; if (ctype_digit((string) $raw)) { $post = get_post((int) $raw); } else { $post = get_page_by_path(sanitize_title($raw), OBJECT, self::CPT); } return ($post && $post->post_type === self::CPT) ? $post : null; } private function normalize_uploaded_files($files) { if (empty($files) || empty($files['name'])) return []; if (!is_array($files['name'])) return [$files]; $normalized = []; foreach (array_keys($files['name']) as $index) { $normalized[] = [ 'name' => $files['name'][$index] ?? '', 'type' => $files['type'][$index] ?? '', 'tmp_name' => $files['tmp_name'][$index] ?? '', 'error' => $files['error'][$index] ?? UPLOAD_ERR_NO_FILE, 'size' => $files['size'][$index] ?? 0, ]; } return $normalized; } public function handle_media_upload_ajax() { check_ajax_referer('yusee_tour_action', 'yusee_tour_nonce'); if (!$this->can_manage_dashboard()) { wp_send_json_error(['message' => 'Akses upload ditolak.'], 403); } if (empty($_FILES['files'])) { wp_send_json_error(['message' => 'Tidak ada file yang diupload.'], 400); } require_once ABSPATH . 'wp-admin/includes/file.php'; require_once ABSPATH . 'wp-admin/includes/image.php'; require_once ABSPATH . 'wp-admin/includes/media.php'; $uploads = $this->normalize_uploaded_files($_FILES['files']); if (!$uploads) { wp_send_json_error(['message' => 'File upload tidak valid.'], 400); } $mimes = [ 'jpg|jpeg|jpe' => 'image/jpeg', 'png' => 'image/png', 'gif' => 'image/gif', 'webp' => 'image/webp', 'avif' => 'image/avif', ]; $uploaded = []; foreach ($uploads as $file) { if (empty($file['name'])) continue; if ((int) ($file['error'] ?? UPLOAD_ERR_OK) !== UPLOAD_ERR_OK) { wp_send_json_error(['message' => 'Upload gagal untuk file ' . sanitize_file_name((string) $file['name']) . '.'], 400); } $result = wp_handle_upload($file, [ 'test_form' => false, 'mimes' => $mimes, ]); if (!empty($result['error'])) { wp_send_json_error(['message' => sanitize_text_field($result['error'])], 400); } $attachment_id = 0; $filetype = wp_check_filetype(wp_basename($result['file']), null); $attachment = [ 'guid' => $result['url'], 'post_mime_type' => $filetype['type'] ?: ($file['type'] ?? 'image/jpeg'), 'post_title' => sanitize_text_field(pathinfo(wp_basename($result['file']), PATHINFO_FILENAME)), 'post_content' => '', 'post_status' => 'inherit', ]; $attachment_id = wp_insert_attachment($attachment, $result['file'], 0); if (!is_wp_error($attachment_id) && $attachment_id) { $metadata = wp_generate_attachment_metadata($attachment_id, $result['file']); if (!empty($metadata) && !is_wp_error($metadata)) { wp_update_attachment_metadata($attachment_id, $metadata); } } else { $attachment_id = 0; } $uploaded[] = [ 'id' => (int) $attachment_id, 'name' => sanitize_file_name(wp_basename($result['file'])), 'url' => esc_url_raw($result['url']), ]; } if (!$uploaded) { wp_send_json_error(['message' => 'Tidak ada gambar yang berhasil diupload.'], 400); } wp_send_json_success(['files' => $uploaded]); } public function handle_front_actions() { if (empty($_POST['yusee_tour_action'])) return; $action = sanitize_key(wp_unslash($_POST['yusee_tour_action'])); if (in_array($action, ['dashboard_unlock', 'dashboard_logout'], true)) { check_admin_referer('yusee_tour_action', 'yusee_tour_nonce'); if ($action === 'dashboard_logout') { $this->clear_dashboard_access_cookie(); $this->redirect_with_msg('Dashboard locked.', false); } $password = (string) wp_unslash($_POST['dashboard_password'] ?? ''); if ($this->verify_dashboard_password($password)) { $this->set_dashboard_access_cookie(); $this->redirect_with_msg('Dashboard unlocked.', false, ['tour_admin_tab' => $this->current_admin_tab()]); } $this->clear_dashboard_access_cookie(); $this->redirect_with_msg('Wrong dashboard password.', true); } if (!$this->can_manage_dashboard()) return; check_admin_referer('yusee_tour_action', 'yusee_tour_nonce'); if ($action === 'save_booking_settings') { update_option('yusee_tour_booking_text', sanitize_text_field(wp_unslash($_POST['booking_text'] ?? 'Continue Booking'))); update_option('yusee_tour_booking_url', esc_url_raw(wp_unslash($_POST['booking_url'] ?? ''))); update_option('yusee_tour_custom_button_text', sanitize_text_field(wp_unslash($_POST['custom_button_text'] ?? 'Custom Button'))); update_option('yusee_tour_custom_button_url', esc_url_raw(wp_unslash($_POST['custom_button_url'] ?? ''))); $new_dashboard_password = trim((string) wp_unslash($_POST['dashboard_password_new'] ?? '')); if ($new_dashboard_password !== '') { update_option($this->dashboard_password_option_name(), wp_hash_password($new_dashboard_password)); $this->set_dashboard_access_cookie(); } $this->redirect_with_msg($new_dashboard_password !== '' ? 'Booking settings + dashboard password saved.' : 'Booking settings saved.', false, ['tour_admin_tab' => 'categories']); } elseif ($action === 'save_category') { $this->handle_save_category(); } elseif ($action === 'save_category_order') { $this->handle_save_category_order(); } elseif ($action === 'save_package') { $this->handle_save_package(); } elseif ($action === 'delete_package') { $id = absint($_POST['package_id'] ?? 0); if ($id) wp_delete_post($id, true); $this->redirect_with_msg('Package deleted.', false, ['tour_admin_tab' => 'packages']); } elseif ($action === 'duplicate_package') { $this->handle_duplicate_package(); } elseif ($action === 'toggle_package_status') { $id = absint($_POST['package_id'] ?? 0); $status = sanitize_key(wp_unslash($_POST['new_status'] ?? 'publish')); if ($id && in_array($status, ['publish','draft'], true)) wp_update_post(['ID' => $id, 'post_status' => $status]); $this->redirect_with_msg($status === 'draft' ? 'Package moved to draft.' : 'Package published.', false, ['tour_admin_tab' => 'packages']); } elseif ($action === 'bulk_packages') { $bulk = sanitize_key(wp_unslash($_POST['bulk_action'] ?? '')); $ids = isset($_POST['package_ids']) ? array_map('absint', (array) $_POST['package_ids']) : []; foreach ($ids as $id) { if (!$id) continue; if ($bulk === 'delete') wp_delete_post($id, true); if ($bulk === 'draft') wp_update_post(['ID' => $id, 'post_status' => 'draft']); if ($bulk === 'publish') wp_update_post(['ID' => $id, 'post_status' => 'publish']); } $this->redirect_with_msg('Bulk action applied.', false, ['tour_admin_tab' => 'packages']); } elseif ($action === 'delete_category') { $term_id = absint($_POST['term_id'] ?? 0); if ($term_id) wp_delete_term($term_id, self::TAX); $this->redirect_with_msg('Category deleted.', false, ['tour_admin_tab' => 'categories']); } elseif ($action === 'bulk_categories') { $this->redirect_with_msg('Category bulk action disabled.', true, ['tour_admin_tab' => 'categories']); } } private function ordered_terms($args = []) { $terms = get_terms(array_merge(['taxonomy' => self::TAX, 'hide_empty' => false], $args)); if (!$terms || is_wp_error($terms)) return $terms; usort($terms, function($a, $b) { $oa = (int) get_term_meta($a->term_id, 'category_order', true); $ob = (int) get_term_meta($b->term_id, 'category_order', true); if ($oa === $ob) return strcasecmp($a->name, $b->name); return $oa <=> $ob; }); return $terms; } private function handle_save_category_order() { $raw = sanitize_text_field(wp_unslash($_POST['category_order'] ?? '')); $ids = array_values(array_filter(array_map('absint', explode(',', $raw)))); foreach ($ids as $i => $id) update_term_meta($id, 'category_order', $i + 1); $this->redirect_with_msg('Category order saved.', false, ['tour_admin_tab' => 'categories']); } private function handle_save_category() { $term_id = absint($_POST['term_id'] ?? 0); $name = sanitize_text_field(wp_unslash($_POST['name'] ?? '')); $desc = sanitize_textarea_field(wp_unslash($_POST['short_desc'] ?? '')); $cover = esc_url_raw(wp_unslash($_POST['cover'] ?? '')); if (!$name) $this->redirect_with_msg('Category name required.', true, ['tour_admin_tab' => 'categories']); if ($term_id) { $res = wp_update_term($term_id, self::TAX, ['name' => $name, 'description' => $desc]); } else { $res = wp_insert_term($name, self::TAX, ['description' => $desc]); } if (is_wp_error($res)) { $this->redirect_with_msg($res->get_error_message(), true, ['tour_admin_tab' => 'categories']); } $term_id = is_array($res) ? (int) $res['term_id'] : $term_id; update_term_meta($term_id, 'cover', $cover); update_term_meta($term_id, 'short_desc', $desc); $this->redirect_with_msg('Category saved.', false, [ 'tour_admin_tab' => 'categories', 'edit_category' => false, 'add_category' => false, ]); } private function handle_duplicate_package() { $id = absint($_POST['package_id'] ?? 0); $src = $id ? get_post($id) : null; if (!$src || $src->post_type !== self::CPT) { $this->redirect_with_msg('Package not found.', true, ['tour_admin_tab' => 'packages']); } $new_id = wp_insert_post([ 'post_type' => self::CPT, 'post_status' => 'draft', 'post_title' => $src->post_title . ' Copy', 'post_content' => $src->post_content, 'post_excerpt' => $src->post_excerpt, ], true); if (is_wp_error($new_id)) { $this->redirect_with_msg($new_id->get_error_message(), true, ['tour_admin_tab' => 'packages']); } foreach (['image','gallery_images','sections','options','buttons'] as $key) update_post_meta($new_id, $key, get_post_meta($id, $key, true)); $terms = self::safe_get_terms($id, 'ids'); if (!is_wp_error($terms)) wp_set_object_terms($new_id, $terms, self::TAX, false); $this->redirect_with_msg('Package duplicated as draft.', false, ['tour_admin_tab' => 'packages', 'edit_package' => $new_id]); } private function handle_save_package() { $package_id = absint($_POST['package_id'] ?? 0); $title = sanitize_text_field(wp_unslash($_POST['title'] ?? '')); $image = esc_url_raw(wp_unslash($_POST['image'] ?? '')); $gallery_raw = sanitize_textarea_field(wp_unslash($_POST['gallery_images'] ?? '')); $category_ids = isset($_POST['category_ids']) ? array_map('absint', (array) $_POST['category_ids']) : []; $section_titles = isset($_POST['section_title']) ? (array) $_POST['section_title'] : []; $section_types = isset($_POST['section_icon']) ? (array) $_POST['section_icon'] : []; $section_modes = isset($_POST['section_mode']) ? (array) $_POST['section_mode'] : []; $section_items = isset($_POST['section_items']) ? (array) $_POST['section_items'] : []; $option_titles = isset($_POST['option_title']) ? (array) $_POST['option_title'] : []; $option_images = isset($_POST['option_image']) ? (array) $_POST['option_image'] : []; $option_prices = isset($_POST['option_price']) ? (array) $_POST['option_price'] : []; $option_currencies = isset($_POST['option_currency']) ? (array) $_POST['option_currency'] : []; $option_amounts = isset($_POST['option_amount']) ? (array) $_POST['option_amount'] : []; $option_customs = isset($_POST['option_custom']) ? (array) $_POST['option_custom'] : []; $option_descs = isset($_POST['option_desc']) ? (array) $_POST['option_desc'] : []; if (!$title) $this->redirect_with_msg('Package title required.', true, ['tour_admin_tab' => 'packages']); $postarr = [ 'post_title' => $title, 'post_type' => self::CPT, 'post_status' => 'publish', ]; if ($package_id) $postarr['ID'] = $package_id; $saved_id = wp_insert_post($postarr, true); if (is_wp_error($saved_id)) { $this->redirect_with_msg($saved_id->get_error_message(), true, ['tour_admin_tab' => 'packages']); } $gallery = array_values(array_filter(array_map('esc_url_raw', $this->parse_lines($gallery_raw)))); $image = !empty($gallery[0]) ? $gallery[0] : $image; update_post_meta($saved_id, 'image', $image); update_post_meta($saved_id, 'gallery_images', $gallery); wp_set_object_terms($saved_id, $category_ids, self::TAX, false); $sections = []; foreach ($section_titles as $i => $raw_title) { $st = sanitize_text_field(wp_unslash($raw_title)); $si = sanitize_textarea_field(wp_unslash($section_items[$i] ?? '')); $icon = sanitize_key(wp_unslash($section_types[$i] ?? 'dot')); $mode = 'rich'; if (!$st && !$si) continue; $sections[] = [ 'title' => $st, 'mode' => $mode, 'icon' => in_array($icon, ['dot', 'x', 'check'], true) ? $icon : 'dot', 'items' => $this->parse_lines($si), ]; } update_post_meta($saved_id, 'sections', $sections); $options = []; foreach ($option_titles as $i => $raw_title) { $ot = sanitize_text_field(wp_unslash($raw_title)); $od = sanitize_textarea_field(wp_unslash($option_descs[$i] ?? '')); $oi = esc_url_raw(wp_unslash($option_images[$i] ?? '')); $currency = sanitize_text_field(wp_unslash($option_currencies[$i] ?? 'Rp')); $amount = preg_replace('/[^0-9]/', '', sanitize_text_field(wp_unslash($option_amounts[$i] ?? ''))); $custom = sanitize_text_field(wp_unslash($option_customs[$i] ?? '')); $legacy_price = sanitize_text_field(wp_unslash($option_prices[$i] ?? '')); $base_price = $amount !== '' ? trim($currency . ' ' . number_format((int) $amount, 0, ',', '.')) : $legacy_price; $op = trim($base_price . ($custom ? $custom : '')); if (!$ot && !$od && !$oi && !$op && $amount === '') continue; $options[] = [ 'title' => $ot, 'image' => $oi, 'price' => $op, 'currency' => $currency, 'amount' => $amount, 'custom' => $custom, 'desc' => $this->parse_lines($od), ]; } update_post_meta($saved_id, 'options', $options); // custom button UI removed; keep existing booking link meta unchanged. $this->redirect_with_msg('Package saved.', false, [ 'tour_admin_tab' => 'packages', 'edit_package' => false, 'add_package' => false, ]); } public function shortcode_admin() { if (!$this->can_manage_dashboard()) { return $this->admin_password_gate_html(); } $tab = $this->current_admin_tab(); $category_count = wp_count_terms(['taxonomy' => self::TAX, 'hide_empty' => false]); if (is_wp_error($category_count)) { $category_count = 0; } $package_count = wp_count_posts(self::CPT); $package_count = isset($package_count->publish) ? (int) $package_count->publish : 0; ob_start(); $titles = [ 'categories' => ['Manage Categories', 'Kelola region/destinasi untuk katalog tour.'], 'packages' => ['Manage Packages', 'Kelola paket tour, detail itinerary, dan opsi harga.'], 'open-trip' => ['Open Trip Management', 'Kelola jadwal open trip, kuota, PDF, dan link WhatsApp.'], ]; $title = $titles[$tab][0]; $subtitle = $titles[$tab][1]; echo '
'; echo '
'; echo $this->admin_notice_html(); if (!empty($_GET['tour_msg']) && empty($_POST)) { echo ''; } echo '

' . esc_html($title) . '

' . esc_html($subtitle) . '

'; if ($tab === 'packages') { echo $this->admin_packages_html(); } elseif ($tab === 'open-trip') { echo $this->admin_open_trip_html(); } else { echo $this->admin_categories_html(); } echo '
'; return ob_get_clean(); } private function booking_settings() { $text = trim((string) get_option('yusee_tour_booking_text', 'Continue Booking')); $url = trim((string) get_option('yusee_tour_booking_url', '')); $custom_text = trim((string) get_option('yusee_tour_custom_button_text', 'Custom Button')); $custom_url = trim((string) get_option('yusee_tour_custom_button_url', '')); if ($custom_url === '') $custom_url = $url !== '' ? $url : 'https://wa.me/628123456789'; return [ 'text' => $text !== '' ? $text : 'Continue Booking', 'url' => $url !== '' ? $url : 'https://wa.me/628123456789', 'custom_text' => $custom_text, 'custom_url' => $custom_url, ]; } private function admin_booking_settings_html() { $booking = $this->booking_settings(); ob_start(); ?>

Global Booking CTA

Dipakai semua package detail.

Dashboard Password

Pakai sistem password TWD Admin yang existing. Kosongkan kalau tidak ingin ganti.

Open Trip dashboard belum aktif.
Aktifkan snippet Open Trip agar jadwal, kuota, PDF, dan WhatsApp link bisa dikelola dari tab ini.
'; } private function admin_categories_html() { $terms = $this->ordered_terms(); $editing = $this->current_edit_category(); $adding = !empty($_GET['add_category']); $show_global = !empty($_GET['global_setting']); $booking = $this->booking_settings(); $show_form = empty($_GET['tour_msg']) && ($adding || $editing); $name = $editing ? $editing->name : ''; $cover = $editing ? get_term_meta($editing->term_id, 'cover', true) : ''; $desc = $editing ? get_term_meta($editing->term_id, 'short_desc', true) : ''; ob_start(); ?>
Search
term_id, 'cover', true); $term_desc = get_term_meta($term->term_id, 'short_desc', true); ?>
<?php echo esc_attr($term->name); ?>
count; ?>
Kategori

name); ?>

paket

description ?: 'Belum ada deskripsi.'); ?>

Slug
slug); ?>
No categories yet.
ordered_terms(); $packages = get_posts(['post_type' => self::CPT, 'post_status' => ['publish','draft'], 'numberposts' => -1, 'orderby' => 'date', 'order' => 'DESC']); $editing = $this->current_edit_package(); $adding = !empty($_GET['add_package']); $show_global = !empty($_GET['global_setting']); $booking = $this->booking_settings(); $show_form = empty($_GET['tour_msg']) && ($adding || $editing); $selected_terms = $editing ? self::safe_get_terms($editing->ID, 'ids') : []; $sections = $editing ? $this->normalize_sections($editing->ID, get_post_meta($editing->ID, 'sections', true)) : []; $options = $editing ? get_post_meta($editing->ID, 'options', true) : []; $image = $editing ? get_post_meta($editing->ID, 'image', true) : ''; $gallery_images = $editing ? get_post_meta($editing->ID, 'gallery_images', true) : []; $gallery_text = is_array($gallery_images) ? implode("\n", $gallery_images) : ''; $section_count = max(1, is_array($sections) ? count($sections) : 0); $option_count = max(1, is_array($options) ? count($options) : 0); ob_start(); ?>
Search
Kategori
Urutkan
Packages
Tidak ada paket yang cocok. Coba ubah search/filter.
ID, 'names'); ?> ID, 'image', true); $pkg_url = add_query_arg('tour_package', $pkg->post_name, $this->package_detail_page_url()); ?>
<?php echo esc_attr($pkg->post_title); ?>
ID, 'sections', true); $pkg_options = get_post_meta($pkg->ID, 'options', true); ?>

post_title); ?>

Slug
post_name); ?>
post_status); ?> sections options
Lihat Edit
No packages yet.
shortcode_package_detail(); if (!empty($_GET['tour_cat'])) return $this->shortcode_category_detail(); $terms = $this->ordered_terms(); $detail_page = $this->category_detail_page_url(); ob_start(); echo '
'; if ($terms && !is_wp_error($terms)) { foreach ($terms as $term) { $cover = get_term_meta($term->term_id, 'cover', true); $desc = get_term_meta($term->term_id, 'short_desc', true); $url = add_query_arg('tour_cat', $term->slug, $detail_page); $style = $cover ? ' style="background-image:url(' . esc_url($cover) . ');"' : ''; $long_class = mb_strlen($term->name) > 11 ? ' yusee-tour-title-long' : ''; echo ''; $display_desc = trim((string) ($desc ?: $term->description)); $desc_lines = array_values(array_filter(array_map('trim', preg_split('/ | | /', $display_desc)))); $desc_lines = array_values(array_filter($desc_lines, function($line) use ($term) { return strtolower($line) !== strtolower($term->name); })); $display_desc = implode(' ', array_unique($desc_lines)); echo '

' . esc_html($term->name) . '

'; if ($display_desc) echo '

' . esc_html($display_desc) . '

'; echo '
'; } } else { echo '
No categories found.
'; } echo '
'; return ob_get_clean(); } private function price_number($raw) { $raw = (string) $raw; $digits = preg_replace('/[^0-9]/', '', $raw); return $digits === '' ? 0 : (int) $digits; } private function format_price_idr($num) { $num = (int) $num; return $num > 0 ? 'Rp ' . number_format($num, 0, ',', '.') : ''; } private function option_amount_value($option) { if (!is_array($option)) return 0; if (!empty($option['amount'])) return (int) preg_replace('/[^0-9]/', '', (string) $option['amount']); return $this->price_number($option['price'] ?? ''); } private function option_display_price($option, $amount = null) { if (!is_array($option)) return 'Contact us'; $display_price = trim((string) ($option['price'] ?? '')); if ($display_price !== '') return $display_price; if ($amount === null) $amount = $this->option_amount_value($option); if ($amount <= 0) return 'Contact us'; $currency = strtoupper(trim((string) ($option['currency'] ?? 'Rp'))); if ($currency === 'EUR') return '€ ' . number_format($amount / 100, 2, '.', ','); if ($currency === 'USD') return '$' . number_format($amount / 100, 2, '.', ','); return $this->format_price_idr($amount); } private function package_default_option_data($options) { if (!is_array($options)) return null; foreach ($options as $index => $option) { if (!is_array($option)) continue; $title = trim((string) ($option['title'] ?? '')); $amount = $this->option_amount_value($option); $price = $this->option_display_price($option, $amount); if ($title !== '' || $amount > 0 || $price !== 'Contact us') { return [ 'index' => (int) $index, 'title' => $title, 'amount' => $amount, 'price' => $price, 'image' => trim((string) ($option['image'] ?? '')), ]; } } return null; } private function package_start_option_data($post_id) { $options = get_post_meta($post_id, 'options', true); if (!is_array($options)) return null; $best = null; foreach ($options as $index => $option) { if (!is_array($option)) continue; $amount = $this->option_amount_value($option); if ($amount <= 0) continue; if ($best === null || $amount < $best['amount']) { $best = [ 'index' => (int) $index, 'title' => trim((string) ($option['title'] ?? '')), 'amount' => $amount, 'price' => $this->option_display_price($option, $amount), 'image' => trim((string) ($option['image'] ?? '')), ]; } } if ($best) return $best; return $this->package_default_option_data($options); } private function package_start_price($post_id) { $start = $this->package_start_option_data($post_id); return !empty($start['amount']) ? (int) $start['amount'] : 0; } private function normalize_sections($post_id, $sections) { if (!is_array($sections)) return []; $changed = false; foreach ($sections as &$section) { if (!is_array($section)) continue; if (($section['mode'] ?? '') !== 'rich') { $section['mode'] = 'rich'; $changed = true; } if (($section['icon'] ?? '') === 'text') { $section['icon'] = 'dot'; $changed = true; } } unset($section); if ($changed && $post_id) update_post_meta($post_id, 'sections', $sections); return $sections; } private function infer_section_mode($section) { return 'rich'; } private function rich_inline($text) { $text = esc_html($text); $text = preg_replace('/\*\*(.+?)\*\*/', '$1', $text); return $text; } private function render_rich_content($items) { $lines = is_array($items) ? $items : $this->parse_lines((string) $items); $html = ''; $in_list = false; foreach ($lines as $line) { $line = trim((string) $line); if ($line === '') continue; if (preg_match('/^##\s*(.+)$/', $line, $m)) { if ($in_list) { $html .= ''; $in_list = false; } $html .= '

' . $this->rich_inline($m[1]) . '

'; } elseif (preg_match('/^(?:-|•|\*)\s*(.+)$/', $line, $m)) { if (!$in_list) { $html .= ''; $in_list = false; } $html .= '

' . $this->rich_inline($line) . '

'; } } if ($in_list) $html .= ''; return $html; } public function shortcode_category_detail() { $slug = isset($_GET['tour_cat']) ? sanitize_title(wp_unslash($_GET['tour_cat'])) : ''; if (!$slug) return '
Category not found.
'; $term = get_term_by('slug', $slug, self::TAX); if (!$term || is_wp_error($term)) return '
Category not found.
'; $keyword = isset($_GET['tour_search']) ? sanitize_text_field(wp_unslash($_GET['tour_search'])) : ''; $paged = max(1, absint($_GET['tour_page'] ?? 1)); $per_page = 6; $query = new WP_Query([ 'post_type' => self::CPT, 'post_status' => 'publish', 'posts_per_page' => $per_page, 'paged' => $paged, 's' => $keyword, 'tax_query' => [[ 'taxonomy' => self::TAX, 'field' => 'term_id', 'terms' => [$term->term_id], ]], ]); $packages = $query->posts; $total_packages = (int) $query->found_posts; $total_pages = max(1, (int) $query->max_num_pages); ob_start(); $cover = get_term_meta($term->term_id, 'cover', true); $desc = trim((string) (get_term_meta($term->term_id, 'short_desc', true) ?: $term->description)); $package_detail_page = $this->package_detail_page_url(); $all_url = remove_query_arg(['tour_cat', 'tour_package', 'tour_search'], $this->base_page_url()); $hero_style = $cover ? ' style="background-image:url(' . esc_url($cover) . ');"' : ''; echo '
'; echo '
← All categories
'; echo '
'; echo '
'; echo '

' . esc_html($term->name) . '

'; if ($desc && strtolower($desc) !== strtolower($term->name)) echo '

' . esc_html($desc) . '

'; echo '
'; echo '
'; echo '
' . esc_html($total_packages) . ' package' . ($total_packages === 1 ? '' : 's') . 'Available in ' . esc_html($term->name) . '
'; echo ''; echo '
'; echo '
'; if ($packages) { foreach ($packages as $pkg) { $image = get_post_meta($pkg->ID, 'image', true); $gallery_images = get_post_meta($pkg->ID, 'gallery_images', true); $gallery_images = is_array($gallery_images) ? array_values(array_filter($gallery_images)) : []; if ($image) array_unshift($gallery_images, $image); $gallery_images = array_values(array_unique($gallery_images)); $url = add_query_arg('tour_package', $pkg->post_name, $package_detail_page); $sections = $this->normalize_sections($pkg->ID, get_post_meta($pkg->ID, 'sections', true)); $excerpt = ''; if (!empty($sections[0]['items'][0])) $excerpt = $sections[0]['items'][0]; echo ''; echo '
'; if ($image) echo '' . esc_attr($pkg->post_title) . ''; echo '
'; $start_option = $this->package_start_option_data($pkg->ID); echo '

' . esc_html($pkg->post_title) . '

'; if (!empty($start_option['price']) && $start_option['price'] !== 'Contact us') echo '
Start from' . esc_html($start_option['price']) . '
'; if ($excerpt) echo '

' . esc_html($excerpt) . '

'; echo 'View detail
'; } } else { echo '
No packages in this category.
'; } echo '
'; if ($total_pages > 1) { echo ''; } echo '
'; return ob_get_clean(); } public function shortcode_package_detail() { $slug = isset($_GET['tour_package']) ? sanitize_title(wp_unslash($_GET['tour_package'])) : ''; if (!$slug) return '
Package not found.
'; $pkg = get_page_by_path($slug, OBJECT, self::CPT); if (!$pkg) return '
Package not found.
'; $image = get_post_meta($pkg->ID, 'image', true); $gallery_images = get_post_meta($pkg->ID, 'gallery_images', true); $gallery_images = is_array($gallery_images) ? array_values(array_filter($gallery_images)) : []; if ($image) array_unshift($gallery_images, $image); $gallery_images = array_values(array_unique($gallery_images)); $sections = $this->normalize_sections($pkg->ID, get_post_meta($pkg->ID, 'sections', true)); $options = get_post_meta($pkg->ID, 'options', true); $terms = self::safe_get_terms($pkg->ID, 'names'); $booking = $this->booking_settings(); $booking_url = $booking['url']; $booking_text = $booking['text']; $custom_button_text = trim((string)($booking['custom_text'] ?? '')); $custom_button_url = trim((string)($booking['custom_url'] ?? '')); $default_option = $this->package_default_option_data($options); $start_price = $this->package_start_price($pkg->ID); $selected_label = !empty($default_option['title']) ? $default_option['title'] : 'Selected package'; $selected_price = !empty($default_option['price']) ? $default_option['price'] : ($start_price ? $this->format_price_idr($start_price) : 'Contact us'); $back_url = remove_query_arg('tour_package', $this->base_page_url()); if (!empty($terms[0])) { $term_obj = get_term_by('name', $terms[0], self::TAX); if ($term_obj && !is_wp_error($term_obj)) $back_url = add_query_arg('tour_cat', $term_obj->slug, $this->base_page_url()); } ob_start(); echo '
'; echo '
← Back to category
'; echo '
'; echo '
'; if ($terms) echo '' . esc_html(implode(' / ', $terms)) . ''; echo '

' . esc_html($pkg->post_title) . '

'; echo '
' . esc_html($selected_label) . '' . esc_html($selected_price) . '
'; if (!empty($options) && is_array($options)) { echo '

Options

Select one option, then continue booking via WhatsApp.

'; foreach ($options as $index => $option) { $amount = $this->option_amount_value($option); $display_price = $this->option_display_price($option, $amount); $is_selected = $default_option && (int) $default_option['index'] === (int) $index; echo '
'; echo '

' . esc_html($option['title'] ?? '') . '

'; if ($display_price) echo '' . esc_html($display_price) . ''; if (!empty($option['image'])) echo '
' . esc_attr($option['title'] ?? $pkg->post_title) . '
'; if (!empty($option['desc']) && is_array($option['desc'])) echo '
' . $this->render_rich_content($option['desc']) . '
'; echo '
'; } echo '
'; } echo '
' . esc_html($booking_text) . ''; if ($custom_button_text && $custom_button_url) echo '' . esc_html($custom_button_text) . ''; echo '
'; echo '
'; if (!empty($sections) && is_array($sections)) { foreach ($sections as $idx => $section) { $title = trim((string) ($section['title'] ?? '')); if ($title === '') continue; $legal = preg_match('/terms|condition|cancellation|refund|responsibility|force majeure|complaints/i', $title); $anchor = 'section-' . sanitize_title($title); if (preg_match('/highlight/i', $title)) $anchor = 'highlights'; if (preg_match('/itinerary/i', $title)) $anchor = 'itinerary'; if (preg_match('/included/i', $title)) $anchor = 'included'; if ($legal) $anchor = 'terms'; echo '
'; echo '

' . esc_html($title) . '

'; if (!empty($section['items'])) { $mode = $this->infer_section_mode($section); if ($mode === 'rich') { echo '
' . $this->render_rich_content($section['items']) . '
'; } elseif ($mode === 'text') { echo '
'; foreach ($section['items'] as $item) echo '

' . esc_html($item) . '

'; echo '
'; } else { echo '
    '; foreach ($section['items'] as $item) echo '
  • ' . esc_html($this->icon_symbol($section['icon'] ?? 'dot')) . '
    ' . esc_html($item) . '
  • '; echo '
'; } } echo '
'; } } echo '
'; echo '
'; if ($terms) echo '' . esc_html(implode(' / ', $terms)) . ''; echo '

' . esc_html($pkg->post_title) . '

'; echo '
' . esc_html($selected_label) . '' . esc_html($selected_price) . '
'; if (!empty($options) && is_array($options)) { echo '

Options

Select one option, then continue booking via WhatsApp.

'; foreach ($options as $index => $option) { $amount = $this->option_amount_value($option); $display_price = $this->option_display_price($option, $amount); $is_selected = $default_option && (int) $default_option['index'] === (int) $index; echo '
'; echo '

' . esc_html($option['title'] ?? '') . '

'; if ($display_price) echo '' . esc_html($display_price) . ''; if (!empty($option['image'])) echo '
' . esc_attr($option['title'] ?? $pkg->post_title) . '
'; if (!empty($option['desc']) && is_array($option['desc'])) echo '
' . $this->render_rich_content($option['desc']) . '
'; echo '
'; } echo '
'; } echo '
' . esc_html($booking_text) . ''; if ($custom_button_text && $custom_button_url) echo '' . esc_html($custom_button_text) . ''; echo '
'; echo '
'; echo '' . esc_html($selected_price) . ''; echo '' . esc_html($booking_text) . ''; if ($custom_button_text && $custom_button_url) echo '' . esc_html($custom_button_text) . ''; echo '
'; return ob_get_clean(); } } new Yusee_Tour_Catalog(); }" ["post_title"]=> string(16) "Untitled Snippet" ["post_excerpt"]=> string(0) "" ["post_status"]=> string(7) "publish" ["comment_status"]=> string(6) "closed" ["ping_status"]=> string(6) "closed" ["post_password"]=> string(0) "" ["post_name"]=> string(34) "twd-admin-tour-catalog-system-copy" ["to_ping"]=> string(0) "" ["pinged"]=> string(0) "" ["post_modified"]=> string(19) "2026-07-10 02:13:41" ["post_modified_gmt"]=> string(19) "2026-07-09 19:13:41" ["post_content_filtered"]=> string(0) "" ["post_parent"]=> int(0) ["guid"]=> string(56) "https://travel-withdee.com/?post_type=wpcode&p=1342" ["menu_order"]=> int(0) ["post_type"]=> string(6) "wpcode" ["post_mime_type"]=> string(0) "" ["comment_count"]=> string(1) "0" ["filter"]=> string(3) "raw" } ===ENDDEBUGP===